How to implement a transition to another activity by clicking on the item recyclerview ? I added an adapter to the class:
class MyClickListener implements View.OnClickListener { private Recept recept; @Override public void onClick(View v) { } void setRecord(Recept recept) { this.recept = recept; } } But this design does not allow me to create intentions for the transition. How to implement the transition?
Intent i = new Intent(Main2Activity.this,LastActivity.class);In its class adapter - Vlad Yulin