title: Room database: click on a record and open a new activity
body: <p>I have a <strong>Room</strong> database with customers. I start an activity where you see a list of the customers. </p>
  
  <p>I want to click on a specific customer and start an activity, where I can see more details of the customer.</p>
  
  <p>I know that you need to use the <strong>OnClickListener</strong> method if you want to click on a button and start a new activity. But here, my list is made with <strong>CardView</strong>. </p>
  
  <p>How can I click on a customer and open a new activity? And how do I let the database give me the correct information of the correct customer, like: If I have a Peter in my list, how can I click on him and see more information about him? Do I need something like get(position) in a method to see the information connected to that customerID?</p>
  
  <p><a href="https://i.stack.imgur.com/MEUPY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MEUPY.png" alt="enter image description here"></a></p>
  
  <p>This is my list. Every card consists a customer in this list. But the cards are not buttons and they don't have a button.</p>