public void ondatachange(@nonnull datasnapshot datasnapshot) get value from database code example
Example: dataSnapshot.getValue
Map<String, Object> MyValue = (HashMap<String, Object>) dataSnapshot.getValue();
Map<String, Object> MyValue = (HashMap<String, Object>) dataSnapshot.getValue();