Science, asked by Noorulla8119, 1 year ago

How to get all items in list from databasereference in firebase android?

Answers

Answered by pulkitdube
0
mFirebaseRef = new Firebase(FIREBASE_URL); mFirebaseRef.addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { List<String> td = (ArrayList<String>) dataSnapshot.getValue(); //notifyDataSetChanged(); } @Override public void onCancelled(FirebaseError firebaseError) { } });

pulkitdube: Hope it will help you. please mark the answer as Brainliest
Similar questions