[HELP] Listview or scroll box? How do I use list view?

Let’s say that I have an array that I want to be able to scroll through. Its length can change. Should I use a scroll box or a list view? How do I use scroll boxes and list views? (This is for a game inventory.)