-
-
Save skydoves/ec7b9d0f8454483ba3dedb712b0be7de to your computer and use it in GitHub Desktop.
firebase_rt_db_java
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
val listener = object : ValueEventListener { | |
override fun onDataChange(snapshot: DataSnapshot) { | |
val value = snapshot.child("timeline") | |
// .. | |
} | |
override fun onCancelled(error: DatabaseError) { | |
// .. | |
} | |
} | |
database.addValueEventListener(listener) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment