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;
 }