What is the minimum sdk currently for recyclerview
. I've seen some posts about this but they're all from 2014 so I'm looking for some new info. Also, my app is heavily dependent on listviews
and asynctasks
and I'm thinking of switching to recyclerview
to add some animations etc. My min sdk is 11 for the app and I'm wondering whether this change is possible or will it cause compatibility issues. Also, is the process of converting from a listview to a recyclerview time consuming or not?
Advantages of RecyclerView over listview : Contains ViewHolder by default. Easy animations. Supports horizontal , grid and staggered layouts.
you should use recyclerview because it offers more control than listview. It is litte bit complex but you get there then your life will be super easy whenever you are dealing with list kind of thing.
RecyclerView lets you use packages to organize your code. RecyclerView helps save processing time, which can help scrolling through a list smoother. RecyclerView is designed to be efficient for lists by reusing views that have scrolled off the screen. RecyclerView automatically incorporates Material Design components.
RecyclerView is part of the v7
support library which means you can use it on anything that has api 7 and up.
the process of converting is not trivial but its not hard either
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With