VolleyPlus
VolleyPlus copied to clipboard
NetworkImageViewPlus wrap_content attribute doesnt work
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