[android-developers] Android Webview - How to retain text data when orientation changes
I want to retain the text data in the webview (i.e the data entered in
the text box of the form in the url loaded) across the orientation
changes. I used, onSaveInstanceState()
restoreState(savedInstanceState) it restores previous state but not
the values.
I resorted to use webview with Fragments, still no luck in retaining
the data. Also when using Fragments the app crashes when orientation
changes.
I cannot use android:configChanges="keyboardHidden|orientation as I
need keyboard when the orientation changes.
Can anyone provide a solution to this ? Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home