Detecting Android Activity data change -
is there built-in method detect data change made user on activity in android?
i want prevent saving , syncing server when user opens activity did not change on tapped on save button.
thank in advance,
vincy
you can maintain booleans in code check if action touch or click happened anywhere in activity, , while clicking on save button, can compare booleans , decide whether upload or not.
Comments
Post a Comment