Rick Busarow
Rick Busarow
Similar to Anvil, but different. Anything with an `@AndroidEntryPoint` or `@InstallIn(...)` annotation must be visible to the Hilt application's module, so those dependencies should probably be "used". But just like...
in `:lib`: ```kotlin @MergeModule(AppScope::class) object NetworkModule { @Provides fun provideService() : Service = ... } ``` in `:app`: ```kotlin @MergeComponent(AppScope::class) interface AppComponent { ... } ``` ... and that's it....
Additional kapt matchers can be defined using `additionalKaptMatchers` in the extension, but what about processors which aren't defined? If a processor is present in the project but not defined in...
Most code right now is hard-coded to look at `main` and the test directories. Instead of hard-coded references, everything should be switched to maps. For instance: ``` Kotlin interface ParsedData...
Currently, ViewModels have their own scope, and the parent is the application scope: There should really be an option to have something in between. Hilt has an "activity retained" scope...
If Tangle is added to a module via the plugin, the compilers are added using the `anvil` (main) configuration only and the *api dependencies are added via `implementation`. This means...
When compiling against Kotlin 1.7.x, this code produces warnings: ```kotlin public interface BaseRenderContext { // ... public fun eventHandler( name: () -> String = { "eventHandler" }, update: WorkflowAction.Updater.() ->...
https://github.com/square/anvil/issues/750 This is a follow-up to the work from https://github.com/square/anvil/pull/833, which was reverted in https://github.com/square/anvil/pull/887. For a binding like: ```kotlin @Binds fun bind(str: Provider): Provider ``` Anvil should check the...