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
精彩评论