Assume we have an Activity
with n
TextView
s that represent one line notes. These notes are stored somewhere (local database, network etc), and each time onResume()
being called, the proper number of TextView
s are drawn according to that stored data.
Now, lets say the user want to delete a note, what would be the best way the resolve the specific TextView
, back to its storage entity?
At the moment, the only way I know is by using View.Tag
, and having some manager to translate it to data entity, but it look rather messy.
Are there any other options?