MakinGIANTS
The findings and tips records of an Android-iOS-TheWholeShabang group
Trying Firebase 3.0 Realtime Database for 1-1 chat in Kotlin
The idea is expose some code to have a reference on how to query and push things to Firebase Realtime Database to create a 1-1 chat with:
How to display FAB with right margins on all devices
If you use marinBottom=”16dp” for FABs you will have problems between versions since Fab
Set status bar color
You just need to call setStatusBarColor :P :
Some decorations (dividers or margins) between recycler view items
If you want to add margins between RecyclerView items you need to use a RecyclerView.ItemDecoration.
Typedef annotations example in kotlin (IntDef)
You need to use kotlin.annotation.AnnotationRetention to declare retention policy and your “static” variables inside a companion object.