title: how to serialize/deserialize arrayList(Object)
body: <p>I have an <code>ArrayList&lt;ItemList&gt;</code> </p>
  
  <p>where ItemList is:</p>
  
  <pre><code>public class ItemList {
      public ArrayList&lt;Item&gt; it = new ArrayList&lt;Item&gt;();
      public String name = "";
  
      public ItemList() {
      }
  }
  </code></pre>
  
  <p>and Item is:</p>
  
  <pre><code>public class Item {
      public String name = "";
      public int count = 0;
  
      public Item() {
      }
  }
  </code></pre>
  
  <p>I try to serialize this list:</p>
  
  <pre><code>try {
              FileOutputStream fileOut = new FileOutputStream(sdDir + serFile);
              ObjectOutputStream out = new ObjectOutputStream(fileOut);
              out.writeObject(List_Of_Lists);
              out.close();
              fileOut.close();
  
          } catch (FileNotFoundException e) {
              e.printStackTrace();
          } catch (IOException e) {
              e.printStackTrace();
          }
  </code></pre>
  
  <p>I think it's work, becouse I find this file in folder.</p>
  
  <p>But I can't deserialize from file to <code>ArrayList&lt;ItemList&gt;</code></p>
  
  <p>code:</p>
  
  <pre><code>        try {
              FileInputStream fileIn = new FileInputStream(sdDir + serFile);
              ObjectInputStream in = new ObjectInputStream(fileIn);
              List_Of_Lists = (ArrayList&lt;ItemList&gt;) in.readObject(); 
              Log.i("palval", "dir.exists()");
              in.close();
              fileIn.close();
          } catch (ClassNotFoundException e) {
              e.printStackTrace();
          } catch (FileNotFoundException e) {
              e.printStackTrace();
          } catch (IOException e) {
              e.printStackTrace();
          }
  </code></pre>
  
  <p>How I can deserialize this <code>ArrayList&lt;ItemList&gt;</code>?
  I always catch IOException.</p>