Exemplo n.º 1
0
        public static BuyRatesFragment NewInstance(int position)
        {
            var f = new BuyRatesFragment();
            var b = new Bundle();

            b.PutInt("position", position);
            f.Arguments = b;
            return(f);
        }
Exemplo n.º 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));
     }
 }