setOnItemClickListener VS setOnItemSelectedListener in ListView.

后端 未结 5 398
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 05:20

I wish to set an onClickListener on items of a ListView but I see two methods setOnItemClickListener and setOnItemSelectedListener . I didint find

5条回答
  •  礼貌的吻别
    2021-01-04 05:47

    I think OnItemSelectedListener is invoked when an item in the list is selected using navigation keys of a keypad or by using tackball.

提交回复
热议问题