android-shape-imageview
android-shape-imageview copied to clipboard
Integration of Android Volley NetworkImageVIew
any idea on how to integrate this with Android Volley NetworkImageVIew?
Thanks
@martingg88 I tried to keep the imageview classes as slim as possible. maybe I should have used drawables but couldnt exactly figure how to do it. I can create a new hierarchy which inherits from volleys image view easily. (I guess I will). thanks for the feedback.
I have used ION to load images and also used the following code and works fine:
Ion.with(getContext()).load(imageUrl).asBitmap().setCallback(new FutureCallback<Bitmap>() { @Override public void onCompleted(Exception exception, Bitmap result) { Log.e(TAG, "Image load completed: "+exception);
if(exception == null) {
mHexagonImage.setImageBitmap(result);
}
}
});