Beispiel #1
0
        public static MarketRatesFragment NewInstance(int position)
        {
            var f = new MarketRatesFragment();
            var b = new Bundle();

            b.PutInt("position", position);
            f.Arguments = b;
            return(f);
        }
Beispiel #2
0
 public override Android.Support.V4.App.Fragment GetItem(int position)
 {
     if (position == 0)
     {
         return(MarketRatesFragment.NewInstance(0));
     }
     if (position == 1)
     {
         return(BuyRatesFragment.NewInstance(0));
     }
     else
     {
         return(BuyRatesFragment.NewInstance(0));
     }
 }