Good morning. I'm trying to fill a ListView in Xamarin with data but I'm not getting it, it's giving a generic exception.
List<string> listaTeste = new List<string>(); listaTeste.Add("MIGUEL"); listaTeste.Add("RAFAEL");
ArrayAdapter<string> adapter = new ArrayAdapter<string>(this, Resource.Id.lvListaProdutos, listaTeste);
lvListaProdutos.Adapter = adapter;
Can anyone tell me if this is the best way to do it?