Is there something similar to SimpleCursorAdapter but instead for ListView for RecyclerView? Thank you
Asked
Active
Viewed 3,976 times
0
-
1yes, see ItemBridgeAdapter – pskink Jan 11 '15 at 09:41
-
Thank you, and is there an example anywhere? – Susana Mar Flores Jan 11 '15 at 10:02
-
None i am aware of, you have do it by yourself... – pskink Jan 11 '15 at 10:04
-
1Use https://developer.android.com/reference/android/support/v17/leanback/widget/CursorObjectAdapter.html when constructing your ItemBridgeAdapter – pskink Jan 11 '15 at 10:07
-
Ok, I´m going to try – Susana Mar Flores Jan 11 '15 at 10:15
-
I need minSdkVersion 17 or more if I want to use this, but I want to use lower versions, so I think I ´m going to use another strategy... – Susana Mar Flores Jan 11 '15 at 10:43
-
1So implement base RecyclerView.Adapter, its really simple... – pskink Jan 11 '15 at 10:51
1 Answers
0
You can find one here: https://gist.github.com/Shywim/127f207e7248fe48400b
You can also find other suggestions here: Using the recyclerview with a database