开发者

Android View inflating

HI am creating view and added to the linearlayout, when i clicked an item in the row ,i need to know which row am clicked ,how can i done this ?开发者_开发技巧

Am trying to listener for a textview in the row ,when the row clicked i need to know which row am clicked. NB SetonItemClickListener is not applicable to textview


You need to set an OnItemClickListener. This tutorial describes it well: http://developer.android.com/resources/tutorials/views/hello-listview.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜