コード例 #1
0
ファイル: HistoryFragment.cs プロジェクト: bolkay/ExtractR
        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);
        }
コード例 #2
0
        //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);
        }