diff options
author | ByteHamster <info@bytehamster.com> | 2020-05-27 11:06:30 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-05-27 11:06:30 +0200 |
commit | 84b9cf9dbb050d078f836c357cf9cd79aa947065 (patch) | |
tree | 46e89019114dea884a240a8eba3334bd0739aa94 /app | |
parent | 018a91d66ce42e31e493117467dfa8be76301f26 (diff) | |
download | AntennaPod-84b9cf9dbb050d078f836c357cf9cd79aa947065.zip |
Cleaned up unused IDs
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java | 2 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/EpisodeItemListAdapter.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java index 655049b2c..e05538b63 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/MainActivity.java @@ -91,7 +91,7 @@ public class MainActivity extends CastEnabledActivity { super.onCreate(savedInstanceState); StorageUtils.checkStorageAvailability(this); setContentView(R.layout.main); - recycledViewPool.setMaxRecycledViews(R.id.episode_item_view_holder, 25); + recycledViewPool.setMaxRecycledViews(R.id.view_type_episode_item, 25); drawerLayout = findViewById(R.id.drawer_layout); navDrawer = findViewById(R.id.navDrawerFragment); diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/EpisodeItemListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/EpisodeItemListAdapter.java index d391f1c54..7099d6f3a 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/EpisodeItemListAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/EpisodeItemListAdapter.java @@ -44,7 +44,7 @@ public class EpisodeItemListAdapter extends RecyclerView.Adapter<EpisodeItemView @Override public final int getItemViewType(int position) { - return R.id.episode_item_view_holder; + return R.id.view_type_episode_item; } @NonNull |