Scrollable lists can help manage datasets, create responsive designs, and facilitate navigation. You can display smaller collections of items in your app by using a finite scrolling list. To avoid performance issues with larger datasets or a list of unknown length, see Lazily load data with lists and Paging.
Version compatibility
This implementation requires that your project minSDK be set to API level 21 or higher.
Dependencies
Create a vertical scrolling list
Use the following code to create a vertical scrolling list:
Key points about the code
- Sets the
Column
scrolling behavior with theverticalScroll
modifier and therememberScrollState
function. - To create a horizontal scrolling list, create a
Row
with ahorizontalScroll
modifier.
Results
![A vertical list responding to scroll
gestures](https://developer.android.com/static/develop/ui/compose/images/gestures-simplescroll.gif?authuser=8)
Parent collections
![](https://developer.android.com/static/images/quick-guides/collection-illustration.png?authuser=8)
Display a list or grid
Lists and grids allow your app to display collections in a
visually pleasing form that's easy for users to consume.
![](https://developer.android.com/static/images/quick-guides/collection-illustration.png?authuser=8)
Display interactive components
Learn how composable functions can enable you to easily
create beautiful UI components based on the Material Design design
system.
![](https://developer.android.com/static/images/quick-guides/collection-illustration.png?authuser=8)
Compose basics (video collection)
This series of videos introduces various Compose APIs,
quickly showing you what’s available and how to use them.
Have questions or feedback
Go to our frequently asked questions page and learn about quick guides or reach out and let us know your thoughts.