public void recreate(){
  int newSize=noxItems.size();
  WeakReference<Bitmap> newBitmaps[]=new WeakReference[newSize];
  Drawable newDrawables[]=new Drawable[newSize];
  Drawable newPlaceholders[]=new Drawable[newSize];
  boolean newLoadings[]=new boolean[newSize];
  ImageLoader.Listener newListeners[]=new ImageLoader.Listener[newSize];
  float length=Math.min(bitmaps.length,newSize);
  for (int i=0; i < length; i++) {
    newBitmaps[i]=bitmaps[i];
    newDrawables[i]=drawables[i];
    newPlaceholders[i]=placeholders[i];
    newLoadings[i]=loading[i];
    newListeners[i]=listeners[i];
  }
  bitmaps=newBitmaps;
  drawables=newDrawables;
  placeholders=newPlaceholders;
  loading=newLoadings;
  listeners=newListeners;
}

public void recreate ( ) { int newSize = noxItems . size ( ) ; WeakReference < Bitmap > newBitmaps [ ] = new WeakReference [ newSize ] ; Drawable newDrawables [ ] = new Drawable [ newSize ] ; Drawable newPlaceholders [ ] = new Drawable [ newSize ] ; boolean newLoadings [ ] = new boolean [ newSize ] ; ImageLoader . Listener newListeners [ ] = new ImageLoader . Listener [ newSize ] ; float length = Math . min ( bitmaps . length , newSize ) ; for ( int i = 0 ; i < length ; i ++ ) { newBitmaps [ i ] = bitmaps [ i ] ; newDrawables [ i ] = drawables [ i ] ; newPlaceholders [ i ] = placeholders [ i ] ; newLoadings [ i ] = loading [ i ] ; newListeners [ i ] = listeners [ i ] ; } bitmaps = newBitmaps ; drawables = newDrawables ; placeholders = newPlaceholders ; loading = newLoadings ; listeners = newListeners ; }
regenerates all the internal data structures . this method should be called when the number of nox items in the catalog has changed externally .
