private void List_OnItemClick(object sender, ItemClickEventArgs e) { try { var item = (Activity)e.ClickedItem; _activitySingleton.SetActivity(item); } catch (Exception exception) { //EXCEPTION HANDLING } }
private void ListViewBase_OnItemClick(object sender, ItemClickEventArgs e) { try { var item = (Activity)e.ClickedItem; _activitySingleton.SetActivity(item); this.Frame.Navigate(typeof(SelectedActivityView)); } catch (Exception exception) { //EXCEPTION HANDLING } }