I have a listview with custom adapter in listfragment and also set onclicklistner for listview. But Onclicklistner does not work.
Here is my code:
p
Adapter has method areAllItemsEnabled (), it might be useful.
public abstract boolean areAllItemsEnabled ()
Indicates whether all the items in this adapter are enabled. If the value returned by this method changes over time, there is no guarantee it will take effect. If true, it means all items are selectable and clickable (there is no separator.)