title: How to save an Object containing an ArrayList of View-objects?
body: <p>I have a class that contains an <code>ArrayList&lt;View&gt;</code>. The Class works for me but i'm not able to save(to file locally) it yet.
  Is there any possibility to to that? 
  I tried <code>Serializable</code> and <code>Externalizable</code> but always get a <code>NotSerializableException</code>.
  Setting to transient did not work either.
  That is the code (I know <code>Serializable</code> won't work):</p>
  
  <pre><code>public class ViewsData implements Serializable {
  
      private  ArrayList&lt;View&gt; viewsList = new ArrayList&lt;View&gt;();
  
      public ViewsData () {
  
      }
  
  
      public ArrayList&lt;View&gt; getViewsList() {
          return viewsList;
      }
  
      public void addToViewsList(View view) {     
          viewsList.add(view);        
      }
  }
  </code></pre>
  
  <p>I'm very thankful for any hint about that.</p>