Enable\disable items in the formRecycler adapter based on event status

Thanks @Pablo. Yes, it’s an android issue rather than dhis, and sorry for that. However, I tried in this way:
I create a method in the FormAdapter class named setEnable and update value for a local variable. By this variable’s value, I set the controls enable disable state. I set adapter.setEnable(false) in the onCreate method of EventFormAcitvity class if the event’s status is complete, and the controls are disabled successfully. But, when I want to enable the controls again by hitting an EDIT button by the command below, it’s not enabling the controls.
adapter.setEnable(true);
adapter.notifyDataSetChanged();
Do I need to instantiate the FormAdapter again to notify the dataset changed? And sorry if I’m not getting you correctly.

Monjur