Skip to content

Abstraction of AcornActivities to handle Jetpack Compose #169

@gumil

Description

@gumil

Is your feature request related to a problem? Please describe.
I am trying to make use of Acorn for Navigation in a fully Jetpack Compose screens. This is hard because AcornActivities are coupled with the ViewGroup with the ViewControllerFactory.

Describe the solution you'd like
It would be nice to have the whole ViewController abstracted to just a View and not attached to Android's ViewGroup.

Describe alternatives you've considered
I did a naive implementation of this but haven't figured out the right abstractions yet. Especially with transitions.
https://github.com/gumil/talan/tree/master/app/src/main/java/dev/gumil/talan/acorn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions