Movement method plugin

WARNING

This is documentation for legacy versions. For the most current version click here.

MovementMethodPlugin can be used to apply a MovementMethod to a TextView (important if you have links inside your markdown). By default CorePlugin will set a LinkMovementMethod on a TextView if one is missing. If you have specific needs for a MovementMethod and LinkMovementMethod doesn't answer your needs use MovementMethodPlugin:

Markwon.builder(context)
        .usePlugin(MovementMethodPlugin.create(ScrollingMovementMethod.getInstance()))

TIP

If you are having trouble with system LinkMovementMethod as an alternative BetterLinkMovementMethod library can be used.

Last Updated: 8/6/2019, 7:27:20 PM