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

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -