コード例 #1
0
        protected override void InitBindings()
        {
            int start;

            SearchPageViewPager.Adapter = new SearchPagePagerAdapter(FragmentManager, _args, out start);
            SearchPageTabStrip.SetViewPager(SearchPageViewPager);

            SearchPageViewPager.SetCurrentItem(start, false);
        }
コード例 #2
0
        protected override void InitBindings()
        {
            SearchPageViewPager.Adapter = new SearchPagePagerAdapter(ChildFragmentManager, _args, out int start);
            SearchPageTabStrip.SetViewPager(SearchPageViewPager);
            SearchPageTabStrip.CenterTabs();
            SearchPageViewPager.OffscreenPageLimit = 5;

            SearchPageViewPager.SetCurrentItem(start, false);
            HasOnlyManualBindings = true;
        }