How to disable setOnItemClickListener?
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);
精彩评论