Firebase Helper
Parameters
context
Context with which the database is accessed.
fun FirebaseHelper(context: Context, postId: String?, userIdPost: String?)
Content copied to clipboard
Creates a FirebaseHelper object given the context with which the database is accessed, the unique identifier of a post, and the unique identifier of the user who posted it.
Parameters
context
Context with which the database is accessed.
postId
Unique identifier of a post.
userIdPost
Unique identifier of the user who posted the post.
Creates a FirebaseHelper object given the context with which the database is accessed and a unique identifier of a database document.
Parameters
context
Context with which the database is accessed.
Id
Unique identifier of a database document.