Disable bringing episode animation

As was requested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406797233
This commit is contained in:
Ebrahim Byagowi 2020-04-10 21:08:49 +04:30
parent 260d7ee944
commit 292afd7d30
1 changed files with 1 additions and 1 deletions

View File

@ -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