title: Select items in RecyclerView
body: <p>Similar question have been asked, but i can't get any of them work.</p>
  
  <p>What i want is to select item in RecyclerView, change the background of that item view, and store the position of item selected. </p>
  
  <p>The main problem is that you have onCreateViewHolder (in adapter), onBindViewHolder (in adapter) and ViewHolder constructor and everybody is working with different methods.
  Now, i don't even know where to put onClickListener (in previous projects i've put it in ViewHolder), because people are suggesting the other two methods too.</p>
  
  <p>My idea was to store each ViewHolder (or View) in list, so i can have reference to each row, and change the background from there. But that didn't work for me, because when i try to add to list of View(or ViewHolders), from any of three places (onCreateVH, onBindVH, VH class), my app crashes for some reason (null pointer ex).</p>
  
  <p>Any suggestions? Where and how to implement it?</p>