Created
January 22, 2018 15:48
-
-
Save wajahatkarim3/0e23331f44bc70567a52a13b9699b079 to your computer and use it in GitHub Desktop.
onDisconnect() method example
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
FirebaseDatabase.getInstance() | |
.getReference("some/random/key") | |
.onDisconnect() // Setting up Disconnect hook | |
.setValue("Update any kind of values you want here"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment