Passing an Object from an Activity to a Fragment
<p>I have an <code>Activity</code> which uses a <code>Fragment</code>. I simply want to pass an object from this <code>Activity</code> to the <code>Fragment</code>.</p>

<p>How could I do it?
All the tutorials I've seen so far where retrieving data from resources.</p>

<p>EDIT :</p>

<p>Let's be a bit more precise:</p>

<p>My Activity has a ListView on the left part. When you click on it, the idea is to load a Fragment on the right part.</p>

<p>When I enter this Activity, an Object "Category" is given through the Intent. This Object contains a List of other Objects "Questions" (which contains a List of String). These "Questions" objects are displayed on the ListView.
When I click on one item from the ListView, I want to display the List of String into the Fragment (into a ListView).</p>

<p>To do that, I call the setContentView() from my Activity with a layout. In this layout is defined the Fragment with the correct class to call.
When I call this setContentView(), the onCreateView() of my Fragment is called but at this time, the getArguments() returns null.</p>

<p>How could I manage to have it filled before the call of onCreateView() ?
(tell me if I'm not clear enough)</p>

<p>Thanks</p>
