Android Webview using Fragments to Retain text data across orientation changes -
Android Webview using Fragments to Retain text data across orientation changes -
i need create webview fragment, info in webview (text in forms) not lost when orientation changes.
like in illustration fragmentretaininstance.java want create webview setretaininstance(true) work.
i using android compatibility bundle fragments, please help me illustration accomplish above. in advance.
had similar problem had create couple of additions work various version (including ics).
in main app activity added different version of "a fair player" offered.
<activity android:name=".mymainactivity" android:configchanges="orientation|keyboardhidden|screensize" android:label="@string/app_name" > i had working on pre-honeycomb with:
<activity .... android:configchanges="orientation|keyboardhidden" .... > with fragments , honeycomb, need "screensize" alternative on android:configchanges.
android webview orientation android-fragments
Comments
Post a Comment