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

Lazy Initialization is an issue for compose applications #49

Open
PabloProta opened this issue Jan 17, 2025 · 2 comments
Open

Lazy Initialization is an issue for compose applications #49

PabloProta opened this issue Jan 17, 2025 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@PabloProta
Copy link

Usually when developing for compose applications we use the @Preview annotation to check how our ui building in progress might look in the real device. For that we use static properties though. Further as this lib has a lazy initialization it'll not be loaded at the preview. This is awfull, because everytime we want to check our ui that uses your lib will just fail in the preview.

@PabloProta
Copy link
Author

I would suggest you create a support for jetpack compose, if you want I can make a sketch of how it might look.

@blongho blongho added enhancement New feature or request help wanted Extra attention is needed labels Jan 20, 2025
@blongho
Copy link
Owner

blongho commented Jan 20, 2025

@PabloProta this is an open source project so feel free to make a pull request with the feature request. I will be more than grateful to merge it as soon as it is submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants