开发者

How to disable setOnItemClickListener?

开发者 https://www.devze.com 2023-02-25 11:44 出处:网络
I\'ve defined setOnItemClickListener for my View object and I need to disable durin开发者_开发百科g some calculations in the application. How to disable it?This should work:

I've defined setOnItemClickListener for my View object and I need to disable durin开发者_开发百科g some calculations in the application. How to disable it?


This should work:

yourView.setOnItemClickListener(null);
0

精彩评论

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