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

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -