Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
VideoGameMusicApp: PaginaListaCanciones.xaml.cs
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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.