开发者

How To Create a List of Interactive Items

How can I create a list of items that allows 开发者_运维知识库users to click each individual item. For example,

Apple Banana Pineapple

User can click any one of these and then I will query a website and deliver more specific information about the clicked fruit. Is it possible to do without creating another view or action, i.e. just changing the information using setText() with checkedtextview?


ListView or ListActivity with an onItemClickListener(), and an another Activity for showing the details.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜