Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide dedicated Android support in some form #29

Open
Jeffset opened this issue Mar 17, 2023 · 0 comments
Open

Provide dedicated Android support in some form #29

Jeffset opened this issue Mar 17, 2023 · 0 comments
Labels
api Related to introducing new API or changing existing one

Comments

@Jeffset
Copy link
Contributor

Jeffset commented Mar 17, 2023

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.

@Jeffset Jeffset added the api Related to introducing new API or changing existing one label Mar 17, 2023
@Jeffset Jeffset pinned this issue Mar 17, 2023
@Jeffset Jeffset unpinned this issue May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to introducing new API or changing existing one
Projects
None yet
Development

No branches or pull requests

1 participant