0

orders node having phone numbers

orders_ref = 
    FirebaseDatabase.getInstance().getReference().child("orders");


    FirebaseRecyclerOptions<AdminOrders> options =
            new FirebaseRecyclerOptions.Builder<AdminOrders>()
            .setQuery(orders_ref,AdminOrders.class)
            .build();
KENdi
  • 7,576
  • 2
  • 16
  • 31
  • **[This](https://stackoverflow.com/questions/49383687/how-can-i-retrieve-data-from-firebase-to-my-adapter/49384849)** is a recommended way in which you can retrieve data from a Firebase Realtime database and display it in a `RecyclerView` using `FirebaseRecyclerAdapter`. – Alex Mamo Mar 14 '19 at 09:13
  • But its not working for my only displaying one order and not the all orders why so?? – Nikhil Sharma Mar 14 '19 at 11:05

0 Answers0