-
Hi, Firebase detected an ANR on the SDK init.
```kotlin
MixpanelAPI.getInstance(
application,
BuildConfig.MIXPANEL_ID,
true,
false
)
```
Mixpanel Android version: 7.2.1. …
-
When I introduce a View Model as below,
```kotlin
@HiltViewModel
class MainViewModel @Inject constructor(
@InMemoryLogger private val logger: LoggerDataSource,
private val savedStateHand…
-
\hiltfirst\app\build\tmp\kapt3\stubs\debug\com\example\android\hilt\data\Log.java:12: error: Cannot find getter for field.
private long id = 0L;
warning: The following options were not recognize…
-
I'm migrating a big app from Dagger to Hilt, where we have a few JUnit Rules that had an `@Inject` annotated fields in them - used for things like deleting test data from Room Database, clearing some …
-
I have a library module which is utilizing the @OptionalInject on the @AndroidEntryPoint classes with hilt and dagger modules setup to be compatible with both.
The consuming app was originally util…
-
Quoting [docs](https://developer.android.com/build/migrate-to-ksp):
> [KSP (Kotlin Symbol Processing)](https://github.com/google/ksp) is a Kotlin-first alternative to kapt. KSP analyzes Kotlin code d…
-
https://github.com/LeoAndo/AndroidGithubSearch/pull/13/files#r1056317237
の通り、Dagger側で不具合修正されたら、この依存関係は削除したい。
-
version catalog values:
```
androidGradlePlugin = "8.2.2"
kspPlugin = "1.9.23-1.0.20"
hiltPlugin = "2.49"
hiltExt = "1.2.0" #used for hilt-compiler and hilt-work
```
getting the following err…
-
Hey, I just cloned the latest project from the main branch but couldn't run it. As soon as the Gradle sync ends, the following error pops up. I tried many things but couldn't get it up and running.
…
-
Hilt rewrites methods to inject android components at a certain point (early) in their lifecycles, so premature access of @Inject properties will usually result in a `kotlin.UninitializedPropertyAcces…