Data accessing from one class to another class
<p>Is there any way to call one class's ArrayList onto another class? In class A ArrayList is there, I need to use that ArrayList in class B, Class A is having <code>AsyncTask</code> in that I have the Arraylist so I need that in side AsynTask's Arraylist in another class.</p>

<p>In class A:</p>

<pre><code>public Class A{
   public class HomeTask extends AsyncTask&lt;Void,Void,Bundle&gt;  { 
      onPreexecute(){}
      doInbackground(){}
      postexecute(){}

      Arraylist joblist(); //------------ My data is here;
   }
}
</code></pre>

<p>second class:</p>

<pre><code>Class B
{
  // I need to use that arraylist here
}
</code></pre>
