You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
Suppose I have an enum class for commands and keys that can be sent between the JavaScript and Kotlin layers. An enum class is a stringless approach for that.
There are some common commands and keys that are implemented in the Captive Web View library. It’d be nice to have an enum subclass in the app, with additional commands that are specific to the app. However Kotlin doesn’t support enum subclasses.
Describe the solution you'd like
There should be a solution based on Kotlin @IntDef so that subclassing can be utilised.
Is your feature request related to a problem? Please describe.
Suppose I have an enum class for commands and keys that can be sent between the JavaScript and Kotlin layers. An enum class is a stringless approach for that.
There are some common commands and keys that are implemented in the Captive Web View library. It’d be nice to have an enum subclass in the app, with additional commands that are specific to the app. However Kotlin doesn’t support enum subclasses.
Describe the solution you'd like
There should be a solution based on Kotlin @IntDef so that subclassing can be utilised.
Describe alternatives you've considered
No response
Additional context
No response