Пример #1
0
		public static FriendsFragment NewInstance ()
		{
			var f = new FriendsFragment ();
			var b = new Bundle ();
			f.Arguments = b;
			return f;
		}
Пример #2
0
        public static FriendsFragment NewInstance()
        {
            var f = new FriendsFragment();
            var b = new Bundle();

            f.Arguments = b;
            return(f);
        }
Пример #3
0
            public override Android.Support.V4.App.Fragment GetItem(int position)
            {
                switch (position)
                {
                case 0:
                    var frag = ConversationsFragment.NewInstance();
                    return(frag);

                case 1:
                    var frag2 = FriendsFragment.NewInstance();
                    return(frag2);

                case 2:
                    var frag3 = ProfileFragment.NewInstance();
                    return(frag3);
                }

                return(null);
            }