PopKorn icon indicating copy to clipboard operation
PopKorn copied to clipboard

DI can be simple. Forget about modules and components. Just use it!

Results 9 PopKorn issues
Sort by recently updated
recently updated
newest added

I'm following the setup instructions but running into an issue trying to inject a dependency on iOS in a kotlin multiplatform project. I have: - added the `Bridge.kt` file in...

I was looking for a DI lib working with KMM and found this one very attractive with the "no boilerplate" policy. Making me think about the awesome service locator get_it...

Hello, I am getting an error when trying to make @Injectable a class that inherits an abstract class that has generic parameters. This is the class injectable: ```kotlin @Injectable(scope =...

When this PR is merged to the default branch (`master`), you will see a new workflow in GitHub Actions ![image](https://user-images.githubusercontent.com/7463564/109284869-a1933d80-7820-11eb-9d53-c0a052b2a739.png)

If an `@Injectable` is missing, the app should not compile instead of crashing in runtime. Because `PopKorn` doesn't need components or modules, it is relatively strange that it happens, but...

Example use case: `appBarcelona` uses environment `barcelona` `appMadrid` uses environment `madrid` `app` doesn't indicate an environment Using default environments lets override some implementations that use specific environments in specific apps...

- Sample: ``` val viewModel: SomeViewModel = getViewModel() // or lazily val viewModel: SomeViewModel by viewModel() ``` - Sample with assisted params: ``` val viewModel: SomeViewModel = getViewModel { assist("param1")...