passing object between ListView and Webservices class
<p>I have a class A which is responsible for fetching data from web services in android and i have a class B which is responsible for creating and rendering List View in android</p>

<p>Now how can i populate data on List View once the data is fetched successfully.
well i have following options but which one is better .. (if someone has anyother then i don't mind)</p>

<blockquote>
  <p>1) Create an intent of Class B and
  pass the data that need to be
  populated</p>
  
  <p>2) Creating a static method int Class
  B which will accept the data as an
  argument and call setListAdapter</p>
</blockquote>

<p>in class B i have used Holder Patter to create ListActivity. ( for reference List14.java in samples of Android )</p>
