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

Custom ComponentContext + remove ViewModelComponent #94

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

matejsemancik
Copy link
Member

KMP

  • Introduced Custom ComponentContext which allowed us to
  • Remove ViewModelComponent class and replace with new AppComponentContext (apply composition over inheritance principle)

The new AppComponentContext decorates default ComponentContext with KoinComponent, allowing Components to inject ViewModels into InstanceKeeper without need for subclassing the ViewModelComponent class. This change also opens possibilities for further ComponentContext customisations.

iOS

  • Fixed lifecycle destroy in deinit

@matejsemancik matejsemancik added android Android-related issues ios iOS-related issues kmp KMP-related issues labels Sep 21, 2024
Copy link

4 Warnings
⚠️ Feature or fix PR title should include JIRA-ID and short description.
⚠️ Feature or fix PR branch name should include JIRA-ID and short description.
⚠️ Please remove period from end of commit subject line.
4a8a4b2
⚠️ duplicate library name: resources_commonMain
2 Messages
📖 iosAppTests: Executed 1 test, with 0 failures (0 expected) in 0.001 (0.001) seconds
📖 iosAppUITests: Executed 1 test, with 0 failures (0 expected) in 24.285 (24.286) seconds

Generated by 🚫 Danger

@RudolfHladik RudolfHladik merged commit d878395 into develop Oct 4, 2024
6 checks passed
@RudolfHladik RudolfHladik deleted the feature/custom-component-context branch October 4, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Android-related issues ios iOS-related issues kmp KMP-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants