Last active
December 19, 2018 09:13
-
-
Save kikermo/091e9beed4e04d3dd1d325c1e38447f8 to your computer and use it in GitHub Desktop.
Simple Firestore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class MyFirebaseModel(val aProperty: Int):FirebaseIdentifiableModel() | |
firebaseFirestore.getFirebaseList<MyFirebaseModel>(path = "mymodel") | |
.map{ ... } // Maybe map to a non firebase specific model | |
.subscribeOn(...) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment