Skip to content

Provide dedicated Android support in some form #29

Description

@Jeffset

Dagger2 has dagger-android and Hilt, which offer dedicated Android support and simplify injecting dependencies into platform classes.

It's sane to expect Yatagan to provide dedicated Android support in some way. It probably will not be directly compatible with either dagger-android or Hilt, because both are implemented as a separate annotation-processors, which introduces multiple rounds of processing and penalize the build speed. Moreover, Hilt is an aggregating AP so implementing something like that with runtime reflection is impossible.

If Yatagan adds specific support for Android, it would be more close to dagger-android approach, then to Hilt's, though anything can change.

TL; DR; Yatagan has plans to support Android and discussions about the design and the API are going to be happening here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelated to introducing new API or changing existing one

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions