public void addImageView ( CubeImageView imageView ) { if ( null == imageView ) { return ; } if ( null == mFirstImageViewHolder ) { mFirstImageViewHolder = new ImageViewHolder ( imageView ) ; return ; } ImageViewHolder holder = mFirstImageViewHolder ; for ( ; ; holder = holder . mNext ) { if ( holder . contains ( imageView ) ) { return ; } if ( holder . mNext == null ) { break ; } } ImageViewHolder newHolder = new ImageViewHolder ( imageView ) ; newHolder . mPrev = holder ; holder . mNext = newHolder ; }
Bind ImageView with ImageTask