title: How to save Object (includes Array) in Preferences?
body: <p>How to save Object in Preferences which looks like this:</p>
  
  <pre><code>public class ToDoList {
  public String name;
  public String date;
  public ArrayList&lt;Product&gt; products = new ArrayList&lt;Product&gt;();
  public boolean isChecked;
  }
  </code></pre>
  
  <p>and then loads its values?</p>