Пример #1
0
        public static SmartListViewFragment NewInstance()
        {
            var frag = new SmartListViewFragment();

            frag.RetainInstance = true;
            return(frag);
        }
Пример #2
0
 protected override void OnCreate(Bundle savedInstanceState)
 {
     base.OnCreate(savedInstanceState);
     SetContentView(Resource.Layout.Main);
     if (savedInstanceState == null)
     {
         FragmentManager.BeginTransaction().Add(Resource.Id.SmartListFrame, SmartListViewFragment.NewInstance()).Commit();
     }
 }