Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replace ListView with RecyclerView

How can I replace old Listview with Recylerview? What changes should I keep in mind when replacing Listview with Recyclerview?

like image 227
dev Avatar asked Nov 12 '14 10:11

dev


1 Answers

The core of the conversion is the Adapter. Better to have it as library because you don't want to create a new one from scratch every time for a different use case.

So, I've created a FlexibleAdapter for all RecyclerView.

Please have a look at the description and full working example: https://github.com/davideas/FlexibleAdapter

like image 169
Davideas Avatar answered Nov 04 '22 19:11

Davideas