Skip to content

Commit

Permalink
Disable bringing episode animation
Browse files Browse the repository at this point in the history
As was requested in #4020 (comment)
  • Loading branch information
ebraminio committed Apr 10, 2020
1 parent 0416230 commit e2ff176
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -85,7 +85,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
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
Expand Down

0 comments on commit e2ff176

Please sign in to comment.