I need to know the best way to add and get a Vector
object to the SharedPreference
in android
.
I have vector with items for username and their corresponding status.The status is boolean
.Suppose i have this vector with respective status for 10 users.I want to know how to add this vector to the SharedPreference
of my application. i will do the get
and use it for processing in different part.Kindly help me to do the get and set for this requirement.