hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
423 stars 51 forks source link

Override TurboVisitOptions.action value dynamically? #211

Closed shkim closed 2 years ago

shkim commented 2 years ago

I'd like to limit the history depth of page navigations. I think it can be achieved by changing the visit's action value to REPLACE. But if I set the presentation value as "replace" in path-config, clicking the link cannot make the initial depth advance. Is it possible to override the TurboVisitOptions.action dynamically on some condition?