Why is my onItemSelectedListener not called in a ListView?

后端 未结 3 1326
暖寄归人
暖寄归人 2020-12-15 02:45

I\'m using a ListView that is setup like this:



        
3条回答
  •  一生所求
    2020-12-15 03:05

    It's because you happen to be testing with your fingers on a touch-enabled device. In touch mode, there is no focus and no selection. UIs that need selection should use a different type of widget, such as radio buttons.

提交回复
热议问题