Q:

Picasso - how to load vector drawable?

I am trying to load vector drawable using Picasso library
    Picasso.get().load(R.drawable.project).into(image3a, new Callback() {
        @Override
        public void onSuccess() {

        }

        @Override
        public void onError(Exception e) {

        }
    });

In onError method, getting this exception:

java.lang.NullPointerException: bitmap == null

When I load image using Glide, it is showing image:
 Glide.with(this).load(R.drawable.project).into(image3b);

My question: How to load vector drawable using Picasso?

A:

Loading Vector drawables is not possible using Picasso. Please check the image for more information
https://github.com/square/picasso/issues/1109 

