Created
April 30, 2020 03:58
-
-
Save PatilShreyas/73e889f9cf60697f9a083717c714a3fa to your computer and use it in GitHub Desktop.
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
class PostsRepository { | |
private val mPostsCollection = FirebaseFirestore.getInstance().collection(Constants.COLLECTION_POST) | |
fun getAllPosts() { // TODO Implement } | |
fun addPost(post: Post) { // TODO Implement } | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment