title: Caching a complex ListView data
body: <p>I have a <code>ListView</code> where each item is made of multiple <code>TextViews</code> and <code>Bitmaps</code>. The list is quite large and it takes around 5-6 seconds to load when the app is launched. So, I'm trying to cache the <code>ListView</code> data into my SD card, so that the list is created only once and after that, the app would read the list from cache, instead of creating the list all over again (I'm using <code>AsyncTask</code>).</p>
  
  <p>So, I tried caching <code>ListView</code> data as simple <code>Serializable</code> object, using <code>FileOutPutStream</code> and <code>ObjectOutputStream</code>. This works fine for simple lists, but in my case, I'm unable to read data from cache. The stack trace says the object couldn't be read as it is not <code>Serializable</code>. How can I store such complex <code>ListView</code> data? I have tried <a href="https://stackoverflow.com/questions/15154164/in-android-how-to-implement-cache-in-listview">this</a> so far.</p>