Skip to content

KMP Support: Request for Expanded API (Theming, User action handling, Error handling) #2

@BraveOwlet

Description

@BraveOwlet

Description:
Thank you for adding ComposeDivKitFactory and basic KMP support! While makeDivKitView() works for simple cases, production apps need more control. Currently missing:

  • User action handling
  • Parsing/rendering error handling
  • Light/dark theme switching

Desired API Example:

ComposeDivKitFactory.makeDivKitView(
    jsonString = jsonString,
    theme = ComposeDivKitTheme("app_theme", "dark"),
    onError = { error ->
        // Handle errors
    },
    onUserAction = { action ->
        // Handle user actions
    },
)

Are there plans to expose these features?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions