![]() ![]() In the sequence shown below, you can see that one view has been filled with data, ABC. This RecyclerView behavior saves a lot of processing time and helps lists scroll more smoothly. That means, the item is filled with new content that scrolls onto the screen. When a list item is scrolled off the screen, RecyclerView reuses that view for the next list item about to be displayed. RecyclerView is designed to be very efficient, even with large lists, by reusing, or recycling, the views that have scrolled off the screen. To help you build apps with lists, Android provides the RecyclerView. No matter what the content is, displaying a list of data is one of the most common UI tasks in Android. ![]() As shown in the screenshot below, some of these apps display a simple list of words or phrases, where others display more complex items such as cards that include text and images. The call history screen, the contacts app, and your favorite social media app all display a list of data. If you think about the apps you commonly use on your phone, almost every single app has at least one list.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |