android - Saving read/unread state in listView -


i'm making app can reserve message php server , append new message in listview, mark point on item show unread,of course disappear when click item, these question:

how can save read/unread mark on each item in order when login app next time still can see mark.

i have tried using share preference seems not solution.there may key save , it's inconvenient when modify value.

is need sqlite ? or have easier solution? need help.


Comments

Popular posts from this blog

html - Cut text on left side inside button while centering -

java - Last square of 8x8 grid not drawn, using two nested FOR loops -

What design pattern is this code in Javascript? -