public static ConversationsFragment NewInstance()
 {
     var f = new ConversationsFragment();
     var b = new Bundle();
     f.Arguments = b;
     return f;
 }
        public static ConversationsFragment NewInstance()
        {
            var f = new ConversationsFragment();
            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);
            }