-
Hello guys, I have had a massive headache figuring out how to fix a very annoying 'Unresolved reference' compilation error in my android project.
Luckily I have finally figured it out and I was wond…
-
the documentation clarifies that : https://dagger.dev/hilt/android-entry-point.html
but my question is regarding viewmodels when a fragment needs to be annotated with EntryPoint to access to ViewMode…
-
```
app.gradle
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
id 'androidx.navigation.safeargs.kotlin'
…
-
So this is a tricky one.
```kotlin
Navigator(Screen1()) { navigator ->
SlideTransition(navigator)
}
class Screen1() : AndroidScreen {
@Composa…
-
When a class is annotated with `@AndroidEntryPoint` annotation the generated class doesn't have `@Suppress` annotation the original class has.
## Steps to reproduce:
- Create an android entry po…
-
dependies
implementation "androidx.hilt:hilt-navigation-compose:1.0.0-alpha03"
implementation 'com.google.dagger:hilt-android:2.38.1'
kapt 'com.google.dagger:hilt-android-compiler:2.3…
-
When trying to apply hilt gradle plugin in project using AGP 7.0.x following error is thrown
> Failed to apply plugin 'dagger.hilt.android.plugin'.
> Extension of type 'AndroidComponentsExtensi…
-
Version: `4.2.5`
Hit an issue with `ChannelViewModel`:
```
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property instance has not been initialized
at io.getstr…
-
我先集成了Hilt框架,然后准备再集成ARouter,项目sync没有问题,但是run的时候会报错
主要是添加了这个就会报错
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getNa…
-
So, we have a complicated dagger2 app structure along with multiple dynamic feature modules.
I have created a sample project : https://github.com/techeretic/HiltRobolectricIssue that explains this i…