android-shape-imageview icon indicating copy to clipboard operation
android-shape-imageview copied to clipboard

Integration of Android Volley NetworkImageVIew

Open martingg88 opened this issue 10 years ago • 2 comments

any idea on how to integrate this with Android Volley NetworkImageVIew?

Thanks

martingg88 avatar Oct 14 '14 11:10 martingg88

@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.

siyamed avatar Oct 16 '14 22:10 siyamed

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);
                }
            }
        });

marabita avatar Nov 22 '14 17:11 marabita