I have a ListView with a setOnItemClickListener. I am trying to prevent the user from pressing an item repeatedly but can't seem to get it to work. I have tried the following.
mAvailableOptionsListView.setClickable(false); mAvailableOptionsListView.setEnabled(false); and then a little time later in a TimerTask enabling them again mAvailableOptionsListView.setClickable(true); mAvailableOptionsListView.setEnabled(true); This does not seem to work --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---