protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); // Set our view from the "main" layout resource SetContentView (Resource.Layout.Main); // Get our button from the layout resource, // and attach an event to it Button button = FindViewById<Button> (Resource.Id.btnSearch); EditText txtSearch = FindViewById<EditText>(Resource.Id.txtSearch); ListView ltv = FindViewById<ListView>(Resource.Id.ltv); button.Click += async (object sender, EventArgs e) => { var core = new Core.Core(); var repositories = await core.GitHubRepositoriesAsync(txtSearch.Text); ltv.Adapter = new ArrayAdapter(this,Android.Resource.Layout.SimpleListItemSingleChoice,repositories); }; }