List view in Libgdx

I have an arraylist powerUps, and I want to display it as a list and no matter which user selects a row to get a specific power for a specific time. The whole thing is done, except that I cannot display arraylist elements in listview in libgdx. I searched a lot, but had no idea. I want something like this.

enter image description here

+4
source share
2 answers

I came up with an alternative solution. implements the gestureListener provided by Libgdx and uses the pan method.

+2
source

, this

. , List scene2d . , . . this.

+2

All Articles