开发者

Android View inflating

开发者 https://www.devze.com 2023-02-12 22:17 出处:网络
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 ?开发者_开发技巧

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

精彩评论

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