Esempio n. 1
0
 private void InitTabsDict(Context context)
 {
     tabs = new Dictionary <int, BaseTabFragment>();
     tabs.Add(0, FragmentChat.getInstance(context));
     tabs.Add(1, FragmentEditSets.getInstance(context));
     //tabs.Add(2, FragmentEditSets.getInstance(context));
 }
Esempio n. 2
0
        public static FragmentChat getInstance(Context context)
        {
            Bundle       args      = new Bundle();
            FragmentChat cFragment = new FragmentChat();

            cFragment.Arguments = args;
            cFragment.SetContext(context);
            cFragment.SetTitle(context.GetString(Resource.String.tab_item_chat));

            return(cFragment);
        }