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