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.
Today is a good time to talk about SharedPreferences. How Kotlin can helps make using it more easy?
A few words about DatePickerDialog
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.
Sometimes (very rarely, but still) you have to work with a service that sends data to both Json and XML. Here’s how to do it
Forever forget about such a great thing like DiffUtil.
Kotlin Coroutines simplify asynchronous programming, leaving all the complications inside the libraries.
I created a simple project: Retrofit Service, 1 Activity, 1 Adapter, 1 Model.
Animation for RecyclerView elements.
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.