开发者

Populate Listview below Gallery

How would I go about populating a开发者_如何学C ListView directly below a GalleryView based on what is currently selected in the Gallery?


Yes I have album art in the gallery and I want the track listing in the ListView under it, but could the ListView change without the users click? I would like it to change to the album currently centrredin the gallery. Thanks.


So selecting one image in the Gallery results in more than one line in the ListView? Use setOnItemClickListener on the Gallery and use onItemClick to find the selected Gallery item and replace the data of the ListView according to that item.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜