Created
April 18, 2019 22:09
-
-
Save LukyanovAnatoliy/3dc2c8ba9c8f35b16ea6044b091a4457 to your computer and use it in GitHub Desktop.
This file contains 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
remoteDB.collection("Tasks") | |
.document("New task") | |
.set(mapToRemoteTask(task)) | |
.addOnSuccessListener { | |
// Successful write | |
} | |
.addOnFailureListener { | |
// There was an error while writing | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment