/// <summary> /// Modify customers /// </summary> void ModifyCustomers() { var profile = _repository.Profiles.First(); var fragment = CustomersFragment.NewInstance(profile.CurrentRunNumber); _fragmentActionListener.NavigateToFragment(fragment, CustomersFragment.TAG); }
/// <summary> /// Navigate to select customers /// </summary> void NavigateToSelectCustomers() { var fragment = CustomersFragment.NewInstance(_run.RunNumber); fragment.SetTargetFragment(this, (int)RequestCodes.SelectCalls); _fragmentActionListener.NavigateToFragment(fragment, CustomersFragment.TAG); }
/// <summary> /// Create new instance /// </summary> /// <returns>The instance.</returns> /// <param name="runNumber">Run number.</param> public static CustomersFragment NewInstance(string runNumber) { var fragment = new CustomersFragment { Arguments = new Bundle() }; fragment.Arguments.PutString(BundleArguments.RunNumber, runNumber); return(fragment); }