How to fully replace listView/GridView with RecyclerView?

ok, I think I’ve found some solutions to what I wrote about:

  1. dividers – the links I’ve given can probably help (here, here and here).
  2. “footerDividersEnabled” – probably like #1, but even if you don’t have it, you could always add a divider to the layout of the footer.
  3. “headerDividersEnabled” – same as #2.
  4. “listSelector” – should be done to the item views .
  5. “fastScrollEnabled” – no solution is available for this, except for this library I’ve found, which was an answer for my post here.
  6. “smoothScrollbar” – should be a feature request for #5. I think it’s already smooth, but I’m not sure.
  7. “textFilterEnabled” – sadly, you need to handle it yourself. create a thread pool of size 1, or manage your own thread (or use AsyncTask, in case the work is relatively short), and let it do the filtering for you.
  8. Filterable – same as #7
  9. “tools:listitem” – not available, but I think you could extend from RecyclerView and add it. You will however have to put some work, as RecyclerView doesn’t know how to layout the views.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)