private void MAdapterOnItemClick(object sender, VideoRowAdapterClickEventArgs e) { try { if (e.Position <= -1) { return; } var item = MAdapter.GetItem(e.Position); if (item == null) { return; } GlobalContext.StartPlayVideo(item); } catch (Exception exception) { Console.WriteLine(exception); } }
void VideoOnLongClick(VideoRowAdapterClickEventArgs args) => VideoItemLongClick?.Invoke(this, args);