jeudi 1 janvier 2015

Recyclerview + Content provider + CursorLoader

I have some data in SQLite database.I have a content provider which will get the data from the database. Now the problem is how do i implement cursorLoader to work in hand with recyclerview?


Also, anyone can explain why we need to transfer the data from cursor to an arrayList to display in a listview/recyclerview and not straight from a cursor?


In the past, we used to have listview and gridview and it seems now they are combined to become recyclerview. Then, how do i implement a grid based recyclerview?


Aucun commentaire:

Enregistrer un commentaire