I would like to save the data of this switch from a list of json and save the change of the switch for the following contentPage
<ListView.ItemTemplate>
<ViewCell.View>
</ViewCell.View>
</ListView.ItemTemplate>
public async void LlenarListaEstado()
{
try
{
ListEstado manager = new ListEstado();
var res = await manager.getEstados();
if (res != null)
{
ListaIncidencias.ItemsSource = res;
}
}
catch (Exception ex)
{
await DisplayAlert("Error", ex.Message, "Aceptar");
return;
}
}