public TreePagerAdapter(Context context, TreeCatalog treeCatalog, List <Offer> OfferList, TabMenuActivity parent)
 {
     this.context        = context;
     this.treeCatalog    = treeCatalog;
     this.offerList      = OfferList;
     this.parentActivity = parent;
 }
Пример #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Locate the ViewPager:
            ViewPager viewPager = FindViewById <ViewPager>(Resource.Id.viewpager);

            // Instantiate the tree catalog:
            treeCatalog = new TreeCatalog();

            // Set up the adapter for the ViewPager
            viewPager.Adapter = new TreePagerAdapter(this, treeCatalog);
        }
Пример #3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Locate the ViewPager:
            ViewPager viewPager = FindViewById<ViewPager>(Resource.Id.viewpager);

            // Instantiate the tree catalog:
            treeCatalog = new TreeCatalog();

            // Set up the adapter for the ViewPager
            viewPager.Adapter = new TreePagerAdapter(this, treeCatalog);
        }
Пример #4
0
 // Load the adapter with the tree catalog at construction time:
 public TreePagerAdapter(Context context, TreeCatalog treeCatalog)
 {
     this.context     = context;
     this.treeCatalog = treeCatalog;
 }
Пример #5
0
 // Load the adapter with the tree catalog at construction time:
 public TreePagerAdapter (Context context, TreeCatalog treeCatalog)
 {
     this.context = context;
     this.treeCatalog = treeCatalog;
 }