title: Android: Showing cards like layout as in Google Keep
body: <p>I was wondering how to show the snapshot of my notes, checklists, images in the grid view. I have no trouble creating the grid view but creating a preview of it is the challenge I'm facing right now as I need to add different type of views(text, checklist, imageview) to the grid according to their time of creation. Works fine for a single type of view like image or text only. </p>
  
  <p>Or in other words. How do I add the different views dynamically to the GridView Adapter? </p>
  
  <p>All or any help is appreciated. </p>
  
  <p>Thanks.  </p>
  
  <p><img src="https://i.stack.imgur.com/80BHe.png" alt="enter image description here"></p>