SHARE
TWEET

Untitled

a guest Dec 16th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using Xamarin.Forms;
  2. using Xamarin.Forms.Xaml;
  3.  
  4. using VideoGameMusicApp.ViewModels;
  5.  
  6. namespace VideoGameMusicApp.Views
  7. {
  8.     [XamlCompilation(XamlCompilationOptions.Compile)]
  9.     public partial class PaginaListaCanciones : ContentPage
  10.     {
  11.         CancionesViewModel vm;
  12.  
  13.         public PaginaListaCanciones()
  14.         {
  15.             InitializeComponent();
  16.  
  17.             vm = new CancionesViewModel();
  18.             BindingContext = vm;
  19.         }
  20.  
  21.         protected async override void OnAppearing()
  22.         {
  23.             base.OnAppearing();
  24.             await vm.ObtenerCanciones();
  25.         }
  26.     }
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top