Disable bringing episode animation
As was requested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406797233
This commit is contained in:
parent
260d7ee944
commit
292afd7d30
|
@ -85,7 +85,7 @@ public class ItemPagerFragment extends Fragment {
|
||||||
int newId = ViewCompat.generateViewId();
|
int newId = ViewCompat.generateViewId();
|
||||||
pager.setId(newId);
|
pager.setId(newId);
|
||||||
pager.setAdapter(new ItemPagerAdapter(this));
|
pager.setAdapter(new ItemPagerAdapter(this));
|
||||||
pager.setCurrentItem(feedItemPos);
|
pager.setCurrentItem(feedItemPos, false);
|
||||||
loadItem(feedItems[feedItemPos]);
|
loadItem(feedItems[feedItemPos]);
|
||||||
pager.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() {
|
pager.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue