Save and Restore TextView Data. -


i have activity several textview elements include buttons. when button specific set of textview elements clicked new activity started enter data. data returned specific textview elements.

my problem when select button different set of textview elements, new activity appears enter data , new data returns main activity, entered data gone.

how keep entered data being removed?

how keep entered data being removed?

<textview   ...   android:freezestext="true" /> 

from documentation on freezes text:

if set, text view include current complete text inside of frozen icicle in addition meta-data such current cursor position. default disabled; can useful when contents of text view not stored in persistent place such content provider.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -