private async void NotificationList_ItemSelected(object sender, SelectedItemChangedEventArgs e) { var item = e.SelectedItem as Notification_Class; if (item != null) { if (item._Type == "Generated" || item._Type == "Packing Slip" || item._Type == "Invoice Generated" || item._Type == "Dispatched") { await IAllDataServices_data.NotificationUpdate(item._Type); await Navigation.PushAsync(new UpComingStockRequestPage()); } else if (item._Type == "Accepted") { await IAllDataServices_data.NotificationUpdate(item._Type); await Navigation.PushAsync(new AllGoodsReturnPage()); } else if (item._Type == "Subscription") { await IAllDataServices_data.NotificationUpdate(item._Type); await Navigation.PushAsync(new FranchiseAdminPaymentDetail()); } else if (item._Type == "Mismatch") { await IAllDataServices_data.NotificationUpdate(item._Type); await Navigation.PushAsync(new LedgerPage()); } else if (item._Type == "Transaction") { await IAllDataServices_data.NotificationUpdate(item._Type); } } }