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) { AppListFragment list = new AppListFragment(); fm.BeginTransaction().Add(global::Android.R.Id.Content, list).Commit(); } }
public MyOnQueryTextListenerCompat(AppListFragment appListFragment) { this.appListFragment = appListFragment; }