protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.ActivityMain); mHelper = new ShortcutHelper(this); mHelper.MaybeRestoreAllDynamicShortcuts(); mHelper.RefreshShortcuts(/*force=*/ false); if (ACTION_ADD_WEBSITE.Equals(Intent.Action)) { // Invoked via the manifest shortcut. AddWebSite(); } mAdapter = new MyAdapter(this); ListAdapter = mAdapter; }