private void step_5() {
    """
	Images configuration. Can be used with (or without) ImagesPlugin, which does some basic
	images handling (parsing markdown containing images, obtain an image from network
	file system or assets). Please note that
    """

        final String markdown = "![image](myownscheme://en.wikipedia.org/static/images/project-logos/enwiki-2x.png)";

        final Markwon markwon = Markwon.builder(this)
                .usePlugin(ImagesPlugin.create(this))
                .usePlugin(new AbstractMarkwonPlugin() {
                    @Override
                    public void configureImages(@NonNull AsyncDrawableLoader.Builder builder) {
                        // we can have a custom SchemeHandler
                        // here we will just use networkSchemeHandler to redirect call
                        builder.addSchemeHandler("myownscheme", new SchemeHandler() {

                            final NetworkSchemeHandler networkSchemeHandler = NetworkSchemeHandler.create();

                            @Nullable
                            @Override
                            public ImageItem handle(@NonNull String raw, @NonNull Uri uri) {
                                raw = raw.replace("myownscheme", "https");
                                return networkSchemeHandler.handle(raw, Uri.parse(raw));
                            }
                        });
                    }
                })
                .build();

        markwon.setMarkdown(textView, markdown);
    }
private void step_5() {

        final String markdown = "![image](myownscheme://en.wikipedia.org/static/images/project-logos/enwiki-2x.png)";

        final Markwon markwon = Markwon.builder(this)
                .usePlugin(ImagesPlugin.create(this))
                .usePlugin(new AbstractMarkwonPlugin() {
                    @Override
                    public void configureImages(@NonNull AsyncDrawableLoader.Builder builder) {
                        // we can have a custom SchemeHandler
                        // here we will just use networkSchemeHandler to redirect call
                        builder.addSchemeHandler("myownscheme", new SchemeHandler() {

                            final NetworkSchemeHandler networkSchemeHandler = NetworkSchemeHandler.create();

                            @Nullable
                            @Override
                            public ImageItem handle(@NonNull String raw, @NonNull Uri uri) {
                                raw = raw.replace("myownscheme", "https");
                                return networkSchemeHandler.handle(raw, Uri.parse(raw));
                            }
                        });
                    }
                })
                .build();

        markwon.setMarkdown(textView, markdown);
    }
private void step_5 ( ) { final String markdown = "![image](myownscheme://en.wikipedia.org/static/images/project-logos/enwiki-2x.png)" ; final Markwon markwon = Markwon . builder ( this ) . usePlugin ( ImagesPlugin . create ( this ) ) . usePlugin ( new AbstractMarkwonPlugin ( ) { @ Override public void configureImages ( @ NonNull AsyncDrawableLoader . Builder builder ) { // we can have a custom SchemeHandler // here we will just use networkSchemeHandler to redirect call builder . addSchemeHandler ( "myownscheme" , new SchemeHandler ( ) { final NetworkSchemeHandler networkSchemeHandler = NetworkSchemeHandler . create ( ) ; @ Nullable @ Override public ImageItem handle ( @ NonNull String raw , @ NonNull Uri uri ) { raw = raw . replace ( "myownscheme" , "https" ) ; return networkSchemeHandler . handle ( raw , Uri . parse ( raw ) ) ; } } ) ; } } ) . build ( ) ; markwon . setMarkdown ( textView , markdown ) ; }
Images configuration. Can be used with (or without) ImagesPlugin, which does some basic
images handling (parsing markdown containing images, obtain an image from network
file system or assets). Please note that
Images configuration . Can be used with ( or without ) ImagesPlugin which does some basic images handling ( parsing markdown containing images obtain an image from network file system or assets ) . Please note that