Android, how to save an Array of dynamic linear layouts? -
i made dynamic linear layout views on them. when close application these linear layouts gone. how can save them? whether saveinstance me , how?
how can save them?
you don't. save data necessary build them again. somewhere, have java code builds views
data. need save data, when app runs again, can retrieve data , run java code again. whether save data in database, sharedpreferences
, other form of file, or on server somewhere, you.
Comments
Post a Comment