Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created April 30, 2020 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatilShreyas/73e889f9cf60697f9a083717c714a3fa to your computer and use it in GitHub Desktop.
Save PatilShreyas/73e889f9cf60697f9a083717c714a3fa to your computer and use it in GitHub Desktop.
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