You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some inconsistency in the slide animation during navigation of the fragments in the BaseMainActivity. For some cases, the navigation is abrupt and no sliding animation appears. This is mainly evident during navigation from
TrackListPagerFragment to DashboardFragment
TrackListPagerFragment to OthersFragment
mobizen_20220314_214331.mp4
One way I am thinking of solving this is by replacing ViewPager used here with ViewPager2. ViewPager2 provides improved and smoother sliding animations during navigation and besides providing other advantages over ViewPager, it is the latest method of paging fragments and is receiving active development support. ViewPager2 can also be used in place of ViewPager for the paging inside the TrackListPagerFragment
There is some inconsistency in the slide animation during navigation of the fragments in the
BaseMainActivity. For some cases, the navigation is abrupt and no sliding animation appears. This is mainly evident during navigation fromTrackListPagerFragmenttoDashboardFragmentTrackListPagerFragmenttoOthersFragmentmobizen_20220314_214331.mp4
One way I am thinking of solving this is by replacing
ViewPagerused here withViewPager2.ViewPager2provides improved and smoother sliding animations during navigation and besides providing other advantages overViewPager, it is the latest method of paging fragments and is receiving active development support.ViewPager2can also be used in place ofViewPagerfor the paging inside theTrackListPagerFragment