The first week of 2022 is a great time to summarize the successes of 2021. I wasn't so active in public speaking this year, but on another side, I spent more time writing articles and updating them during this year (especially articles about Jetpack Compose; API changes from alpha to beta and later on to release version).
Articles
The "Jetpack Compose: Theme and Typography" article is the most updatable article of the year 😄 (I updated it four times because of API changes).
- LiveData: Good practices
- Migrate from LiveData to StateFlow and SharedFlow
- UI testing of Android Runtime Permissions
- Helpful ADB commands
- Layout Inspector in 2021
- ADB commands: Accessibility
- Jetpack Compose: Layouts
- Jetpack Compose: styling Text
- Jetpack Compose: Building Grids
- Jetpack Compose: Theme and Typography
- Testing redirect with Cypress
- Benefits of building components instead of screens
The alexzh.com has more than 75k page views 🎉
Android development tips
In 2021 I started posted more small tips about Android Development and Testing on Twitter.
You can speed up your UI tests and increase the stability if you run a specific screen (Activity/Fragment/Composable function). Usually, we have many examples when we don't need to create End-To-End (E2E) test cases.
— Alex Zhukovich (@Alex_Zhukovich) November 24, 2021
Examples in 🧵 #AndroidDev #AndroidTesting #JetpackCompose pic.twitter.com/EkFDRXrjhG
Suppose you want to share code (test data, object generators, etc.) between local and instrumentation tests. In this case, you can create a folder inside a module, like "commonTest" and add/update the "sourceSets" section.#AndroidDev #AndroidTesting pic.twitter.com/Cx8e3WSDAR
— Alex Zhukovich (@Alex_Zhukovich) November 8, 2021
If you want to set colors of the "status bar" and "navigation" bar in Jetpack Compose, you can use the "Accompanist" library. The "SystemUiController" allows us to set color for
— Alex Zhukovich (@Alex_Zhukovich) October 26, 2021
- status bar
- navigation bar#Android #JetpackCompose pic.twitter.com/Kihc3VbQy4
Talks
I wasn't very active in public speaking in 2020 and spoke at two events.