diff --git a/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.java b/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.java index cdaec8ba..0cab5b10 100644 --- a/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.java +++ b/app/src/main/java/com/etesync/syncadapter/ui/ViewCollectionActivity.java @@ -61,9 +61,11 @@ public class ViewCollectionActivity extends AppCompatActivity { account = getIntent().getExtras().getParcelable(EXTRA_ACCOUNT); info = (CollectionInfo) getIntent().getExtras().getSerializable(EXTRA_COLLECTION_INFO); - getSupportFragmentManager().beginTransaction() - .add(R.id.list_entries_container, ListEntriesFragment.newInstance(info)) - .commit(); + if (savedInstanceState == null) { + getSupportFragmentManager().beginTransaction() + .add(R.id.list_entries_container, ListEntriesFragment.newInstance(info)) + .commit(); + } final TextView stats = (TextView) findViewById(R.id.stats);