I'm an Android engineer who likes learning, sharing knowledge, and breaking complex concepts into easily understandable chunks.
A practical guide
Eliminate Visual Regressions Across Devices and Configurations
Learn the fundamental principles, frameworks, and best practices to catch visual regressions across devices and configurations before they reach production.
If you use PreviewParameterProvider, you've probably struggled with index-based names like "uiState 0" and "uiState 1." Starting with ui-tooling-preview:1.10.0, you can finally add custom display names to your preview states.
Visual tests catches UI imperfections that traditional UI tests miss. They detect misalignments, color issues, and layout problems across different devices and themes. This article introduces visual testing concepts, explains how screenshot comparison works, and demonstrates implementation.
Material 3 offers a variety of pre-built TopAppBar components to streamline your development and ensure consistency with Material Design guidelines. This article explores different TopAppBar variations, including those with centered titles, expandable layouts, and support for subtitles.
Explore how to add a platform-specific icons to a Compose Multiplatform project. This article guides you through using different icons for Android, iOS, Desktop and Web platforms.
Explore how to create a scrollable chart with Compose Multiplatform using KoalaPlot library. This article guides you through creating dynamic, scrollable charts.
Explore the art of formatting date and time in Kotlin with the Kotlinx-datetime library. This guide introduces you to the efficient use of Unicode patterns and Kotlin DSL for formatting date and time types. Ideal for Kotlin Multiplatform projects.
This article covers using and customizing the “Dividers” components from the "Material 2" and "Material 3" libraries in the Jetpack Compose. In addition to that, we will explore the difference between implementation of the Divider, HorizontalDivider and VerticalDivider.
The article explores different types of UI testing, such as end-to-end testing, UI testing with fake data, pixel perfection testing, and accessibility testing. The article also includes information on how to get started with UI testing in any project.