///<summary> ///typeflag== 0 input is email, or 1 input is phone ///</summary> public void ShowBuyerSignUp(EventCard card,string input,int typeflag) { if(!IsFinishing){ var fragment =new RaffleBuyerSignUpFragment (); if (typeflag == 0) { fragment.nn_email = input; } else { fragment.nn_phone = input; } fragment.nn_eventcard = card; var ft = SupportFragmentManager.BeginTransaction (); ft.Replace (Resource.Id.home_content_framelayout, fragment); ft.AddToBackStack (null); ft.CommitAllowingStateLoss (); currentfragment = (global::Android.Support.V4.App.Fragment)fragment; } }
public GooglePlacesAutocompleteAdapter(RaffleBuyerSignUpFragment context) { filter = new CustomFilter (this); nn_context1 = context; resultarraylist = new ArrayList (); resultlist = new List<Tap5050Seller.Core.RetrievedInfo> (); }
public void ShowBuyerSignUp(string email) { if(!IsFinishing){ var fragment =new RaffleBuyerSignUpFragment (); fragment.nn_email = email; var ft = SupportFragmentManager.BeginTransaction (); ft.Replace (Resource.Id.home_content_framelayout, fragment); ft.AddToBackStack (null); ft.CommitAllowingStateLoss (); currentfragment = (global::Android.Support.V4.App.Fragment)fragment; } }