content: package com.androidquery.test.image;
  
  import java.util.ArrayList;
  import java.util.List;
  
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.ArrayAdapter;
  
  import com.androidquery.AQuery;
  import com.androidquery.R;
  
  public class ImageLoadingList2Activity extends ImageLoadingListActivity {
  
  	
  	public void work() {
  	
  		List<String> items = new ArrayList<String>();
  		
  		items.add("http://farm4.static.flickr.com/3531/3769416703_b76406f9de.jpg");
  		items.add("http://farm3.static.flickr.com/2490/3770244988_c9e93c3799.jpg");
  		items.add("http://farm4.static.flickr.com/3008/2636284089_3a4383e9a4.jpg");
  		items.add("http://farm3.static.flickr.com/2113/2263237656_e40b912b46.jpg");
  		
  		listAq = new AQuery(this);
  		
  		ArrayAdapter<String> aa = new ArrayAdapter<String>(this, R.layout.content_item_s, items){
  			
  			@Override
  			public View getView(int position, View convertView, ViewGroup parent) {
  				
  				if(convertView == null){
  					convertView = getLayoutInflater().inflate(R.layout.content_item_s2, null);
  				}
  				
  				String url = getItem(position);
  				
  				AQuery aq = listAq.recycle(convertView);
  				
  				aq.id(R.id.tb).progress(R.id.pbar).image(url, true, true, 0, 0, null, 0, AQuery.RATIO_PRESERVE);
  				
  				return convertView;
  				
  				
  			}
  		};
  		
  		aq.id(R.id.list).adapter(aa);
  		
  	}
  	
  	
  	
  	
  	
  }
  