VolleyPlus icon indicating copy to clipboard operation
VolleyPlus copied to clipboard

NetworkImageViewPlus wrap_content attribute doesnt work

Open jinsen47 opened this issue 9 years ago • 0 comments

Hi guys, When I using NetworkImageViewPlus in my adapter, I found wrap_content attribute caused height=0, width=0, when I wanted to view the full image.

Here is my view

holder.mImage.setImageUrl(mData.get(position), ImageUtil.getImageLoader());
Log.d("PictureAdapter", "height = " + holder.mImage.getHeight());
Log.d("PictureAdapter", "width = " + holder.mImage.getWidth());

Logs showed me both height and width are 0.

And my ImageLoader is down here.

mImageLoader = new SimpleImageLoader(RequestManager.getRequestQueue(), BitmapImageCache.getInstance(null, 0.5F));

B.R. Jinsen

jinsen47 avatar Jun 18 '15 09:06 jinsen47