I am trying to enable/disable items from a list view when a button is pressed using getChild function inside button callback. But i found that getChild function only returns the items that are visible.
ListView.getChildAt(position).setEnabled(isEnabled);
Tried solution provided here. But unfortunately, it doesn't work in my case.
Any help is greatly appreciated.