Prevent item description webview from reloading on orientation change
This commit is contained in:
parent
4e39a99100
commit
ceabaaa26a
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue