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

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -