Here is my Firebase data
{
\"ques\": {
\"Chemistry\": {},
\"Countries\": {},
\"Film\": {},
\"Geography\": {},
\"General Knowledge\": {},
\"Information Techn
Firebase.setAndroidContext(this);
DatabaseReference fbDb = null;
if (fbDb == null) {
fbDb = FirebaseDatabase.getInstance().getReference();
}
fbDb.child("ques/Technology")
.addListenerForSingleValueEvent(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
// get total available quest
int size = (int) dataSnapshot.getChildrenCount();
}
@Override
public void onCancelled(DatabaseError databaseError) {
}
});