0

I have read your solution to disable an Item in a List Activity in this link Android: How to disable list items on list creation. But when i tested your solution, it works fine, the item wanted is disabled, but the separator of the list is gone. Do you Have an issue for this problem ??

Community
  • 1
  • 1
Anis
  • 1
  • 1

1 Answers1

0

Don't override areAllItemsEnabled().

Fedor
  • 43,261
  • 10
  • 79
  • 89