protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); AddControls(); this.SetBinding(() => Vm.ListData, () => ListData); //this.SetBinding(() => Vm.ListData) // .WhenSourceChanges(() => // { // ListData = Vm.ListData; // //.... // }); adapterSong = new SongAdapter(this); LoadSongWithThread("anh+cu+di+di"); recycler.SetAdapter(adapterSong); AddEvents(); }
private void ShowListSong() { adapterSong = new SongAdapter(this); recycler.SetAdapter(adapterSong); HideLoading(); //reset search searchString = ""; }