Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Glide.with(getApplicationContext()).load(imgUrl).asBitmap().into(new SimpleTarget<Bitmap>(250, 250) {
- @Override
- public void onResourceReady(Bitmap resource, GlideAnimation glideAnimation) {
- Log.i(TAG, "success");
- dlg.dismiss();
- blurImageView.setImageBitmap(resource);
- circularImageView.setImageBitmap(resource);
- // runBlurryThread(blurImageView);
- }
- @Override
- public void onLoadFailed(Exception e, Drawable errorDrawable) {
- super.onLoadFailed(e, errorDrawable);
- dlg.dismiss();
- Log.i(TAG, "failed");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement