

You’re welcome to up your game in the kitchen by learning the recipes too, but maybe wait until you’ve built the app, okay? How to optimize a ListView’s performance.How to construct and populate a ListView.You may run into ListView in legacy code, and it’s best to know how to work with itīy working through this tutorial, you’ll become familiar with ListView, and you’ll do so by creating a recipe list app.You can gain insights into why RecyclerView works the way it does.Nevertheless, studying ListView still has it’s benefits: In recent years, ListView has been supplanted by RecyclerView. For instance, maybe you have a chat app that queries a certain social platform’s database to find your friends, and then want to display them in a list that lets you select which friends to connect with.Īny time you need to display a lot of data and make it easy to navigate, you’ve got a job for Android’s ListView, which handily creates scrollable lists. :]ĭisplaying a specific list is essential to the function of almost any app that queries a set of data and returns a list of results, so many apps need to do this at one point or another.

How many times have you needed an app to display a group of related items in a list? How about all the time. Update Note: This tutorial is now up to date with the latest version of Android Studio version 3.0.1, and uses Kotlin for app development.
