onListItemClick is not getting called on ListActivity

后端 未结 6 995
闹比i
闹比i 2021-01-16 12:00

I have a small application, and I am trying to display list of youtube thumbnails using the ListActivity

public class ResultListActivity extends ListActivity         


        
6条回答
  •  孤街浪徒
    2021-01-16 12:08

    You need to add row.setOnClickListener(new OnItemClickListener(position)); in your ResultViewAdapter for getView()

提交回复
热议问题