code: private static void returnBitmapInto(final Bitmap bitmap, final String path, final Object into) {
          new Handler(Looper.getMainLooper()).post(new Runnable() {
              @Override
              public void run() {
                  if (into != null && path != null && bitmap != null) {
                      if (into instanceof ImageView) {
                          Log.d(TAG, "return bitmap " + path + " into ImageView");
                          ((ImageView) into).setImageBitmap(bitmap);
                      } else if (into instanceof Callback) {
                          Log.d(TAG, "return bitmap " + path + " into Callback");
                          ((Callback) into).onBitmapLoaded(path, bitmap);
                      }
                  }
              }
          });
      }
docs: When the bitmap has been downloaded, load it into the [into] object
  
  @param bitmap the downloaded bitmap
  @param path   the image source path (path or url)
  @param into   the destination object