public static CryptoCurrencyAddressFragmentEx NewInstance(string xtitle, string xaddress) { title = xtitle; address = xaddress; CryptoCurrencyAddressFragmentEx cryptoCurrencyAddressFragmentEx = new CryptoCurrencyAddressFragmentEx(); Bundle args = new Bundle(); args.PutString("Address", address); cryptoCurrencyAddressFragmentEx.Arguments = args; return(cryptoCurrencyAddressFragmentEx); }
public override Fragment GetItem(int position) { return(CryptoCurrencyAddressFragmentEx.NewInstance(titles[position], (position == 0) ? privateAddress : publicAddress)); }