title: How to pass Bundle from Fragment to Fragment
body: <p>I am using fragments in my application. This is my  first fragment that simply inflate a xml file:</p>
  
  <pre><code>public class FragmentA extends SherlockFragment
  {
      Context myContext,appContext;
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      myContext = getActivity();
      appContext=getActivity().getApplicationContext();
      arguments = getArguments();
      doctor_id=arguments.getInt("doctor_id");
      userType=arguments.getString("userType");
      return inflater.inflate(R.layout.left_panel, container,false);
  }
  </code></pre>
  
  <p>and this is the left_panel .xml, that contains a fragment:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" &gt;
      &lt;fragment
          android:id="@+id/titles"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_weight="1"
          class="com.example.sample.ListFrag" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>This is my ListFrag class:</p>
  
  <pre><code>public class ListFrag extends Fragment 
  {
      Context myContext,appContext;
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
              Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          layoutView = inflater.inflate(R.layout.activity_doctor_list,container);
          myContext = getActivity();
          appContext=getActivity().getApplicationContext();
          arguments=getArguments();
          int doctor_id=arguments.getInt("doctor_id");
  }
  }
  </code></pre>
  
  <p>I don't know how to pass <code>Bundle arguments</code> from FragmentA to ListFrag.</p>