Im writing this for future folks like me trying to understand wtf is wrong.
At the beginning I had no idea what the hell is going on — all my animations had checks if they are running or not, if they are started or not, the cancelation was handled etc…
In this story I’ll show you how we can use Firebase Firestore and Auth together with RxJava, covering i.a. real time data and auth state changes. The code examples follow clean code and MVVM pattern, i.a. datasources, repository pattern and more.
There are two ways to get data from Firestore:
In this article Ive gathered some best practices and tips to write a cleaner code by leveraging use of provided by Kotlin amazing stuff!
Whenever you write
if statement, stop and think if it can be replaced with
when expression. Consider the simple example below:
enum class AgeGroup…
There is a lot of confusion on how to properly save file in the Android, so I would like to show the easiest way for doing that. In my example I will try to save received image in
The problem appears when we want to save file to the…