Example #1
0
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     MessagingCenter.Unsubscribe <IKeyEventSender, string>(this, "KeyDown");
     MessagingCenter.Unsubscribe <IEventSender, string>(this, "Pop");
     _contentGridController.Unsubscribe();
 }
Example #2
0
 void OnHotReloaded()
 {
     _contentGridController?.Unsubscribe();
     _contentGridController = new ContentGridController(ContentGrid);
     _contentGridController.SetItemsSource(ContentDataList as List <DetailContentData>);
     _contentGridController.Subscribe();
     _contentGridController.SetFocusedContent(FocusedContent as DetailContentData);
     UpdateContentInfo();
 }