public interface ValueEventListener
|Modifier and Type||Method and Description|
This method will be triggered in the event that this listener either failed at the server, or is removed as a result of the security and Firebase rules.
This method will be called with a snapshot of the data at this location.
void onDataChange(DataSnapshot snapshot)
snapshot- The current data at the location
void onCancelled(FirebaseError error)
error- A description of the error that occurred
Copyright © 2017 Firebase. All rights reserved.