How to put db data in more than one fragment?

0

I want to put the database data in fragments, in a swipe, not a list, where each record is loaded in a different fragment.

    
asked by anonymous 14.07.2015 / 14:06

1 answer

1

Ideally, you'd better understand your ultimate goal, but you could achieve this by creating a RecyclerView with a Horizontal LinearLayout . By simply querying the database and feeding the RecyclerView with the cursor. RecyclerView is very effective and economical.

Another possibility would be to use Swipe Views

As I said, it depends a lot on your goal. I think you could study these options a little bit.

    
15.07.2015 / 03:57