Example #1
0
		public static ProfileFragment NewInstance()
        {
			var f = new ProfileFragment();
            var b = new Bundle();
            f.Arguments = b;
            return f;
        }
        public static ProfileFragment NewInstance()
        {
            var f = new ProfileFragment();
            var b = new Bundle();

            f.Arguments = b;
            return(f);
        }
Example #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);
            }