Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

ListView Json and save Switch IsToggled

$
0
0

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;
        }
    }

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>