Example #1
0
 // Constructor
 public MainPage()
 {
     InitializeComponent();
     // Sample code to localize the ApplicationBar
     //BuildLocalizedApplicationBar();
     Deezer dz = new Deezer();
     dz.getTopTracks(6, (response) => SetListsDataSource(response));
 }
Example #2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            // Set the data context of the listbox control to the sample data
            DataContext = App.ViewModel;
            dz = new Deezer();
            dz.getTopTracks(6, (x) => SetListTracks(x));
        }