I can't pass Map<Integer,ArrayList<String>> via Intent
<p>I have the following collection:</p>

<pre><code>Map&lt;Integer,ArrayList&lt;String&gt;&gt; map = new LinkedHashMap&lt;Integer,ArrayList&lt;String&gt;&gt;();
</code></pre>

<p>But when I try to pass it via an <code>intent</code> to another activity</p>

<pre><code>intent.putExtra("name", map);
</code></pre>

<p>I take the following error: The method putExtra in the type Intent is not applicable for the arguments </p>

<pre><code>(String, Map&lt;Integer,ArrayList&lt;String&gt;&gt;)
</code></pre>

<p>I though that <code>Integer</code>, <code>Map</code> and the  <code>String</code> class implements the <code>Serializable</code> interface and therefore I can pass it. However this doesn't work. Any solution?</p>
