Image Picasso


Image loading based on Picasso library

final Markwon markwon = Markwon.builder(context)
        // automatically create Picasso instance
        // use provided picasso instance
        // if you need more control
        .usePlugin(PicassoImagesPlugin.create(new PicassoImagesPlugin.PicassoStore() {
            public RequestCreator load(@NonNull AsyncDrawable drawable) {
                return Picasso.get()
                        // please note that drawable should be used as tag (not a destination)
                        // otherwise there won't be support for multiple images with the same URL 

            public void cancel(@NonNull AsyncDrawable drawable) {
Last Updated: 6/26/2019, 5:57:33 PM