Code example for AbsListView

Methods: getAdapter

0
					if (mView == null) {
						mView = mParent.getAdapter().getView(position, null, null);
						mView.setDrawingCacheEnabled(true);
						addView(mView);
					} else { 
						mParent.getAdapter().getView(position, mView, this);
					} 
 
					mBitmap = getBitmap(mView);
					mHeight = mBitmap.getHeight();
				} 
			} 
		} 
 
		/** 
		 * Destroy Bitmap and View of sticker 
		 */ 
		public void clear() { 
			if (mView != null) {
				mView.setDrawingCacheEnabled(false);
				removeView(mView);