How to put a List in intent
<p>I have a List in one of my activities and need to pass it to the next activity.  </p>

<pre><code>private List&lt;Item&gt; selectedData;  
</code></pre>

<p>I tried putting this in intent by :  </p>

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

<p>But it is not working. What can be done?</p>
