private void SetUpViewPager(ViewPager viewPager)
        {
            TabFragmentAdapter adapter = new TabFragmentAdapter(SupportFragmentManager);

            adapter.AddFragment(new TransactionsFragmentTransactionItemsFragment(), "ITEMS");
            adapter.AddFragment(new TransactionsFragmentTransactionDetailsFragment(), "DETAILS");
            viewPager.Adapter = adapter;
        }
        private void SetUpViewPager(ViewPager viewPager)
        {
            TabFragmentAdapter adapter = new TabFragmentAdapter(SupportFragmentManager);

            adapter.AddFragment(new RunnersFragmentEditInfoFragment(), "INFO");
            adapter.AddFragment(new RunnersFragmentEditSalesFragment(), "SALES");
            viewPager.Adapter = adapter;
        }
예제 #3
0
        private void SetUpViewPager(ViewPager viewPager)
        {
            TabFragmentAdapter adapter = new TabFragmentAdapter(ChildFragmentManager);

            adapter.AddFragment(mProductsFragmentItemsFragment, "ITEMS");
            adapter.AddFragment(mProductsFragmentStocksFragment, "STOCK");
            adapter.AddFragment(mProductsFragmentCategoriesFragment, "CATEGORIES");
            adapter.AddFragment(mProductsFragmentSizesFragment, "SIZES");
            viewPager.Adapter = adapter;
        }