Movement method plugin

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: 6/12/2019, 6:45:28 PM