Android Picasso nine patch image from url
问题 I have a problem loading nine patch images from url into a view as the view's background. I can load nine patch images from resources which works fine. I set the target for Picasso as follows: view.setTag(new Target() { @Override public void onBitmapLoaded(Bitmap bitmap, LoadedFrom from) { Log.d("LOG", bitmap.getWidth() + " " + bitmap.getHeight()); BitmapDrawable bitmapDrawable = new BitmapDrawable(activity.getResources(), bitmap); byte[] ninePatchChunk = bitmap.getNinePatchChunk(); if