Last active
December 16, 2018 13:52
Star
You must be signed in to star a gist
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