Skip to content

Reference

The Navigator is the central coordinator in a Hotwire Native Android application. Each NavigatorHost in your Activity maintains a Navigator instance, which manages the stack of HotwireFragment screens with a single, shared WebView instance. It lets your app choose how to handle link taps, present new screens, and deal with errors.

﹟ Custom WebView

You can customize and subclass the HotwireWebView class to provide custom behaviors in your app:

Hotwire.config.makeCustomWebView = { context ->
    MyCustomWebView(context, null)
}

﹟ Custom HTML data attributes