Suppose we have an Activity with n TextView that are a single note. These notes are stored somewhere (local database, network, etc.), and each time onResume() is onResume() , the corresponding amount of TextView is drawn in accordance with this stored data.
Now, let's say a user wants to delete a note, what would be the best way to resolve a particular TextView back to its storage object?
At the moment, I only know with View.Tag and with some manager to translate it into a data object, but it looks pretty dirty.
Are there any other options?
android android-sqlite android-adapter android-loadermanager android-cursorloader
nobatlinux Apr 05 '15 at 9:58 2015-04-05 09:58
source share