Bitmap 이미지를 담고 있는 items

 

예제랑 똑같이 했는데 제가 찍어놓은 Log는 계속 뜨지 않는거 보니 getview가 실행이 안되는거 같은데요....

 

~아~ 잘모르겠어요

 

 

 
 @Override
 protected void onCreate(Bundle savedInstanceState) {
  // TODO Auto-generated method stub
  super.onCreate(savedInstanceState);
  
   setContentView(R.layout.just_image_test);
  
  Gallery gallery = (Gallery)findViewById(R.id.ggg);
  
  MyListAdapter my = new MyListAdapter(this);
  gallery.setAdapter(my);
  
 }
 

 

 

 class MyListAdapter extends BaseAdapter{
  
  Context context;
  ViewWrapper wrapper = null;
  private int background;
  
  public MyListAdapter(Activity context){
   
   this.context= context;
   TypedArray type = obtainStyledAttributes(R.styleable.Theme);
   background = type.getResourceId(R.styleable.Theme_android_galleryItemBackground, 0);
  
   type.recycle();
  }
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
   // TODO Auto-generated method stub
   
   Log.e("Detail", "aaaa");   //여기 로그가 찍히지 않아요...
   
   ImageView imageview = new ImageView(context);
   imageview.setImageBitmap(items.get(position));
   imageview.setLayoutParams(new Gallery.LayoutParams(80,70));
   imageview.setScaleType(ImageView.ScaleType.FIT_XY);
   
  return imageview;
  }
  
  
  
  @Override
  public int getCount() {
   // TODO Auto-generated method stub
   return 0;
  }
  @Override
  public Object getItem(int position) {
   // TODO Auto-generated method stub
   return null;
  }
  @Override
  public long getItemId(int position) {
   // TODO Auto-generated method stub
   return 0;
  }
 }