Пример #1
0
        void OnItemSelected(object sender, XLabs.GridEventArgs <object> e)
        {
            if (e.Value == null)
            {
                return;
            }

            EventData eventData = e.Value as EventData;

            if (eventData != null)
            {
                var navPage = new EventDetailView(eventData);
                Navigation.PushAsync(navPage);
            }
        }
Пример #2
0
        private void OnItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            if (e.SelectedItem == null)
            {
                return;
            }

            _eventListView.SelectedItem = null;
            EventData eventData = e.SelectedItem as EventData;

            if (eventData != null)
            {
                var navPage = new EventDetailView(eventData);
                Navigation.PushAsync(navPage);
            }
        }