Useful extensions

Sometimes we can’t use kotlin synthetics library.

Maybe layout was changed during runtime, and int this case some new views can’t be accesseed with synthetics library, because view binding process starting on view creation stage.

Continue Reading Useful extensions

Android WorkManager

Starting from Android 8.0 all services, which we used for background tasks, loose your rights and opportunities.

But now Android has a new tool, which can start and manage background tasks. Let’s talk about WorkManager.

Continue Reading Android WorkManager

RecyclerView with multiple Holder

Nothing complicated. One additional override method and one additional layout. Now more. I will make a calendar of birthdays of Russian poets and writers. First you need three markups. Screen and two holders: header and data.

Continue Reading RecyclerView with multiple Holder