Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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