title: Recyclerview + Content provider + CursorLoader
body: <p>I have some data in SQLite database.I have a content provider which will get the data from the database. Now the problem is how do i implement cursorLoader to work in hand with recyclerview?</p>
  
  <p>Also, anyone can explain why we need to transfer the data from cursor to an object to display in a listview/recyclerview and not straight from a cursor?</p>
  
  <p>For example, In the custom cursorAdapter class,</p>
  
  <pre><code>Person person = new Person(cursor.getString(cursor.getColumnIndexOrThrow(PERSON_NAME)));
  textview.setText = person.getName();
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>textview.setText = cursor.getString(cursor.getColumnIndexOrThrow(PERSON_NAME));
  </code></pre>
  
  <p>Which one of the above method is better?</p>
  
  <p>In the past, we used to have listview and gridview and it seems now they are combined to become recyclerview. Then, how do i implement a grid based recyclerview?</p>