Markwon/docs/docs/v3/core/movement-method-plugin.md
2019-02-17 12:23:44 +03:00

689 B

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. :::