Inheritance: FragmentStatePagerAdapter
示例#1
0
 private void InitViewPager()
 {
     adapter = new SessionsPagerAdapter(FragmentManager);
     binding.viewPager.Adapter = adapter;
     binding.tabLayout.SetupWithViewPager(binding.viewPager);
 }
 private void InitViewPager()
 {
     adapter = new SessionsPagerAdapter(FragmentManager);
     binding.viewPager.Adapter = adapter;
     binding.tabLayout.SetupWithViewPager(binding.viewPager);
 }