Esempio n. 1
0
        /// <summary>
        /// Modify customers
        /// </summary>
        void ModifyCustomers()
        {
            var profile  = _repository.Profiles.First();
            var fragment = CustomersFragment.NewInstance(profile.CurrentRunNumber);

            _fragmentActionListener.NavigateToFragment(fragment, CustomersFragment.TAG);
        }
Esempio n. 2
0
        /// <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);
        }
Esempio n. 3
0
        /// <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);
        }