Category : firebase-realtime-database

Im trying to fetch data in FirebaseRecyclerPagingAdapter which is in hashmap format but i dont know how to do it, Firebase database structure is like Firebase database structure is like code snippet is DatabaseReference reference = FirebaseDatabase.getInstance().getReference(); Query baseQuery = reference.child(getString(R.string.db_posts)) .child(user_id); FirebaseRecyclerPagingAdapter<PostId, FeedViewHolder> adapter; PagedList.Config config = new PagedList.Config.Builder() .setEnablePlaceholders(false) .setPrefetchDistance(5) .setPageSize(5) .build(); DatabasePagingOptions<PostId> ..

Read more