When I click on List view item it changes. I want when index changes custom paint effect of previous image save and want to move this paint part only to next widget if user selects apply changes to "yes". When I change by clicking paint and eraser effect remains same which I don't want.
Here is my code: