fix bug that activity is recreated when going back from detail view

This commit is contained in:
David Luhmer 2019-06-08 08:16:36 +02:00
parent fa4437cf92
commit a7ccdf21a5

View file

@ -40,7 +40,8 @@
<activity <activity
android:name=".NewsReaderListActivity" android:name=".NewsReaderListActivity"
android:label="@string/app_name"> android:label="@string/app_name"
android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />