In Android, we have two ways of implementing a list — ListView and RecyclerView. The first one is a good old UI component, which has been included in the Android SDK since the very beginning. I used it a lot of times when an app needed a scrolling list.



The RecyclerView, however, was announced with Android Lollipop. It's a kind of ListView2 but the name isn't accidental. RecyclerView introduces a few more components that we should use, but it's not a big deal – the responsibilities are split, so it's a good change.



Generally, it's better to use RecyclerView when it's possible. But to understand why it's worth doing this, we first need to implement lists using both ways. Let's start with ListView.



Both implementations are separated into different posts, as well as the final comparison of the two. Thanks to this, if you aren't interested in the ListView, you can jump straight to the RecyclerView without endless scrolling. However, I encourage you to read all of three articles.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Android, Android Development, Android Resources, Android Samples,Mobile Development Tutorials,Mobile Developments