コード例 #1
0
        public static RunsFragment NewInstance()
        {
            var fragment = new RunsFragment {
                Arguments = new Bundle()
            };

            return(fragment);
        }
コード例 #2
0
        /// <summary>
        /// Login succeeded
        /// </summary>
        void OnLoginSucceeded(string username)
        {
            _fragmentActionListener.SetDisplayUsername(username);

            var fragment = RunsFragment.NewInstance();

            _fragmentActionListener.ReplaceFragment(fragment, RunsFragment.TAG);
        }