Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Android Application Development

You're reading from   Learning Android Application Development Start building for the world's most popular mobile platform

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher Packt
ISBN-13 9781785286117
Length 320 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Raimon Ràfols Montane Raimon Ràfols Montane
Author Profile Icon Raimon Ràfols Montane
Raimon Ràfols Montane
Laurence Dawson Laurence Dawson
Author Profile Icon Laurence Dawson
Laurence Dawson
Arrow right icon
View More author details
Toc

RecyclerView

RecyclerView was introduced with Android 5.0 or Lollipop and was included directly in the support library, so it could be used in older versions of Android (we all know that firmware rollout is not always as fast as it should be because it might depend on operators and vendors). In this section, we will use the previous example to replace ListView with RecyclerView. We will see that it will take a bit more of code to set this up, but we will also be able to identify, quite clearly, its advantages: its flexibility and the uncoupling feature along with the ability to perform item layouts or item animation, helping us to keep a cleaner code architecture. In addition, RecyclerView was built with all the performance features we had to implement before in mind. This does not mean we do not have to do anything to implement them, but as we will see, the code is structured in a way that it will force us do to so naturally.

The official Android documentation defines...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image