Ejemplo n.º 1
0
        public static SettingsSettingsFragment NewInstance()
        {
            var settingsSettingsFragment = new SettingsSettingsFragment {
                Arguments = new Bundle()
            };

            return(settingsSettingsFragment);
        }
        public override Fragment GetItem(int position)
        {
            switch (position)
            {
            case 0:
                return(SettingsSettingsFragment.NewInstance());

            case 1:
                return(SettingsDisclaimerFragment.NewInstance());

            case 2:
                return(SettingsAboutFragment.NewInstance());
            }
            return(null);
        }