Merge pull request #10671 from Stypox/channel-main-tab-lag
Fix application lagging with many main page tabs
This commit is contained in:
commit
b3c82f54df
1 changed files with 0 additions and 1 deletions
|
@ -194,7 +194,6 @@ public class MainFragment extends BaseFragment implements TabLayout.OnTabSelecte
|
|||
}
|
||||
|
||||
binding.pager.setAdapter(null);
|
||||
binding.pager.setOffscreenPageLimit(tabsList.size());
|
||||
binding.pager.setAdapter(pagerAdapter);
|
||||
|
||||
updateTabsIconAndDescription();
|
||||
|
|
Loading…
Reference in a new issue