How is it possible to get the position of the item which was clicked in the RecyclerView row and than make a intent to an activity in the onClick m
You can get postion from ViewHolder by using getAdapterPosition() method. Like in code below:
public class SergejAdapter extends RecyclerView.Adapter{
...
class MyViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{
@Override
public void onClick(View v) {
// here you use position
int position = getAdapterPosition();
...
}
}
}