Skip to content Skip to sidebar Skip to footer

Send FirebaseRecyclerOption/Recycler View Via Intent To Another Activity?

I am creating dog health app which has a login activity, when a user is signing up, they can add their dogs to their account, which is stored in my Firebase Realtime Database like

Solution 1:

If you only want to show the details for one dog, based on a property of that dog, you should use a query:

private void getDogData() {
    DatabaseReference databaseReference = FirebaseDatabase.getInstance().getReference("user").child(uid).child("dogs");
    Query query = databaseReference.orderByChild("name").equalTo("moo");
    query.addValueEventListener(new ValueEventListener() {
        ...

Post a Comment for "Send FirebaseRecyclerOption/Recycler View Via Intent To Another Activity?"