private void AlertListView_ItemTapped(object sender, ItemTappedEventArgs e) { if (((AlertItem)e.Item).alertMessage.Contains("Power has dropped!")) { AlertFactory.GetSingleton().CreateAlert(((AlertItem)e.Item).alertMessage); } if (((AlertItem)e.Item).alertMessage.Contains("Cadence has dropped!")) { AlertFactory.GetSingleton().CreateAlert(((AlertItem)e.Item).alertMessage); } if (((AlertItem)e.Item).alertMessage.Contains("Speed has dropped!")) { AlertFactory.GetSingleton().CreateAlert(((AlertItem)e.Item).alertMessage); } }