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(); } }
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(); } }
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; }
public MyOnQueryTextListenerCompat(CursorLoaderListFragment cursorLoaderListFragment) { this.cursorLoaderListFragment = cursorLoaderListFragment; }