Sunday, February 23, 2014

android how to achieve sequential storage SharedPreferences


android how SharedPreferences stored sequentially
The last one is always inserted at the top<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
SharedPreferences default sequential write,
If you want to modify, only write data to files.
Append the new data added to the file last.
Reply:
You say you want to know how to go android sdk above to check SharedPreferences, there explain the above, but will use enough.
Reply:
SharedPreferences saying what needs your attention or you need to store the sequence and then himself to read and write?
Reply:
Either write your own xml bar
Reply:
reference to the third floor tanwei4199 reply:
SharedPreferences saying what needs your attention or you need to store the sequence and then himself to read and write?

Makes sense, he's just a way of storing data, certainly when you read to read according to the Key

No comments:

Post a Comment