protected async override void OnResume() { base.OnResume(); if (lista != null) { productos = await repo.GetProduct(); adapter = new AdapterProducts(this, productos); lista.Adapter = adapter; ((BaseAdapter)lista.Adapter).NotifyDataSetChanged(); } }
protected async override void OnResume() { base.OnResume(); if (lista != null) { productos = await repo.GetProduct(); adapter = new AdapterProducts(this, productos); lista.Adapter = adapter; ((BaseAdapter)lista.Adapter).NotifyDataSetChanged(); } }