Example #1
0
        private async void listaPosts_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            List <Comment> comentarios = await PostsProxy.getComments(seleciconado.id);

            listaComentarios.ItemsSource = comentarios;
        }
Example #2
0
        private async void Button_Click(object sender, RoutedEventArgs e)
        {
            datos2 = await PostsProxy.getPosts();

            listaPosts.ItemsSource = datos2;
        }