Prevent item description webview from reloading on orientation change

This commit is contained in:
daniel oeh 2012-07-31 12:55:12 +02:00
parent 4e39a99100
commit ceabaaa26a
2 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@
android:name="android.app.default_searchable"
android:value=".activity.SearchActivity" />
</activity>
<activity android:name="de.danoeh.antennapod.activity.ItemviewActivity" />
<activity android:name="de.danoeh.antennapod.activity.ItemviewActivity" android:configChanges="keyboardHidden|orientation"/>
<activity
android:name="de.danoeh.antennapod.activity.DownloadActivity"
android:label="@string/downloads_label" />
@ -98,7 +98,7 @@
</intent-filter>
</receiver>
<activity android:name=".activity.FeedInfoActivity" >
<activity android:name=".activity.FeedInfoActivity">
</activity>
<service

View File

@ -88,6 +88,7 @@ public class ItemDescriptionFragment extends SherlockFragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setRetainInstance(true);
FeedManager manager = FeedManager.getInstance();
Bundle args = getArguments();
long feedId = args.getLong(ARG_FEED_ID, -1);