From 292afd7d309c02cfb760a5722affcec274ed935c Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Fri, 10 Apr 2020 21:08:49 +0430 Subject: [PATCH] Disable bringing episode animation As was requested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406797233 --- .../java/de/danoeh/antennapod/fragment/ItemPagerFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/ItemPagerFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/ItemPagerFragment.java index 6f9ccdd1e..0c7eb23d2 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/ItemPagerFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/ItemPagerFragment.java @@ -85,7 +85,7 @@ public class ItemPagerFragment extends Fragment { int newId = ViewCompat.generateViewId(); pager.setId(newId); pager.setAdapter(new ItemPagerAdapter(this)); - pager.setCurrentItem(feedItemPos); + pager.setCurrentItem(feedItemPos, false); loadItem(feedItems[feedItemPos]); pager.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() { @Override