private void SetUpRecyclerView(RecyclerView recyclerView) { /* generate list with app info */ recyclerView.HasFixedSize = true; LinearLayoutManager layoutmanager = new LinearLayoutManager(recyclerView.Context); recyclerView.SetLayoutManager(layoutmanager); adapter = new SimpleStringRecyclerViewAdapter(recyclerView, SQL_Product.RetrieveList(loadint, _IDX)); recyclerView.SetAdapter(adapter); recyclerView.SetItemClickListener((rv, position, view) => { string test = position.ToString(); //view.LongClick += View_LongClick; //view.Click += View_Click; //Context context = view.Context; //Intent intent = new Intent(context, typeof(CheeseDetailActivity)); //intent.PutExtra(CheeseDetailActivity.EXTRA_NAME, values[position].ApplicationName); //intent.PutExtra("data_used", data[position].ApplicationData); //intent.PutExtra("user_id", position); //intent.PutExtra("pid", pid[position].ApplicationPID); //intent.AddFlags(ActivityFlags.NewTask); //context.StartActivity(intent); }); }