private void HistoryAdapter_ItemLongClick(object sender, HistoryAdapterClickEventArgs e) { string filePath = historyViewModels[e.Position].FileName; UserActionHelper.StartAction(Intent.ActionSend, filePath, this.Context); // StartAction(Intent.ActionSend, e.Position); }
//private void HistoryAdapter_ItemLongClick(object sender, HistoryAdapterClickEventArgs e) //{ //} private void HistoryAdapter_ItemClick(object sender, HistoryAdapterClickEventArgs e) { var game = gameList[e.Position]; int id = game.GameId; Intent intent = new Intent(this.Activity, typeof(GameDetailsActivity)); intent.PutExtra("GameID", id); StartActivity(intent); }