1

I want to create dynamic lists which can be scrolled on the screen. To do this in Android, we create a custom adapter extending RecyclerView.Adapter<ListItem>, where ListItem is a class containing the content of list items extending RecyclerView.ViewHolder.

How to make such scrollable lists in HarmonyOS?

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
OxO
  • 27
  • 3

1 Answers1

1

Pls kindly refer to ListContainer in the HarmonyOS development document.

ListContainer is a component used for displaying continuous data in multiple rows. It contains a series of list items of the same type.

Docs link.

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108