protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate (bundle);

            var fm = SupportFragmentManager;

            // Create the list fragment and add it as our sole content.
            if (fm.FindFragmentById(Android.Resource.Id.Content) == null) {
                var list = new CursorLoaderListFragment (this);
                fm.BeginTransaction().Add(Android.Resource.Id.Content, list).Commit();
            }
        }
Esempio n. 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var fm = SupportFragmentManager;

            if (fm.FindFragmentById(Android.Resource.Id.Content) == null)
            {
                var list = new CursorLoaderListFragment(this);
                fm.BeginTransaction().Add(Android.Resource.Id.Content, list).Commit();
            }
        }
Esempio n. 3
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            FragmentManager fm = GetSupportFragmentManager();

            // Create the list fragment and Add it as our sole content.
            if (fm.FindFragmentById(global::Android.R.Id.Content) == null)
            {
                CursorLoaderListFragment list = new CursorLoaderListFragment();
                fm.BeginTransaction().Add(global::Android.R.Id.Content, list).Commit();
            }
        }
 public MyOnQueryTextListenerCompat(CursorLoaderListFragment parent)
 {
     this.parent = parent;
 }
Esempio n. 5
0
 public MyOnQueryTextListenerCompat(CursorLoaderListFragment cursorLoaderListFragment)
 {
     this.cursorLoaderListFragment = cursorLoaderListFragment;
 }