0
Good morning. I’m trying to fill a Listview in Xamarin with data but I’m not getting it, keeps 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;
Would anyone know if that’s the best way to do it?
Thanks friend, your solution worked!
– Miguel Patreze
Hello Miguel just a touch. I always give a vote on the answer you solved, or on another that is right, but we can only choose one. I voted in that reply, which may resolve my situation. The guys are volunteers, and voting is always a little too much for the guys, even though nobody asks for it, it’s always nice to vote. Just a touch and nothing else, man. Thanks!!!
– pnet