2
I have a list of Textview in a Listview, and by clicking on one of the Textview I have access to a Fragment.
How do I stop, when I’m in one Fragment, the Textview responsible for opening it is blocked? Therefore, the application will not be forced to open the same Fragment repeatedly!
The question is a little confused. Is this what you are looking for:
textView.setEnabled(false);
?– ramaral
I want to avoid that the user can double click on the same listview item, no matter it’s a textview... In my case it is simply a String Arraylist!
– Everton Luis
If I’m not mistaken, the
BaseAdapter
has a method that you can override and tell if the item is enabled, take a look at the methodisEnabled
. I think he’ll do what he needs.– Wakim