Last active
December 16, 2018 13:52
-
-
Save icebeam7/3d614eac2f8a95642c07d9f45dc20f96 to your computer and use it in GitHub Desktop.
VideoGameMusicApp: PaginaListaCanciones.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
using VideoGameMusicApp.ViewModels; | |
namespace VideoGameMusicApp.Views | |
{ | |
[XamlCompilation(XamlCompilationOptions.Compile)] | |
public partial class PaginaListaCanciones : ContentPage | |
{ | |
CancionesViewModel vm; | |
public PaginaListaCanciones() | |
{ | |
InitializeComponent(); | |
vm = new CancionesViewModel(); | |
BindingContext = vm; | |
} | |
protected async override void OnAppearing() | |
{ | |
base.OnAppearing(); | |
await vm.ObtenerCanciones(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment