Firebase recycler adapter pagination

1.3k views Asked by At
mFirebaseAdapter = new FirebaseRecyclerAdapter<Restaurant, FirebaseRestaurantViewHolder>
            (Restaurant.class, R.layout.restaurant_list_item, FirebaseRestaurantViewHolder.class, 
                mRestaurantReference)

I had like 1000 elements/objects in mRestaurantReference. I will definitely get performance issues if I use the above code so I have to paginate it. So how can I paginate data using FirebaseRecyclerAdapter?

0

There are 0 answers