-
In a Voyager screen with a `ViewModel`, if we set anything in the `SavedStateHandle` it won't be restored when process death happens.
Here's a demo project with the issue:
```kotlin
@HiltAndroi…
-
## Description :scroll:
* Give a step-by-step tutorial in Kotlin along with a brief and clear explanation.
* Required Documentation or Video or Audio.
## Domain of Contribution :bar_c…
-
aspectjx版本2.0.10,目前发现主要有两个兼容问题:
1、同[kotlin 1.4.10 zip file is empty](https://github.com/HujiangTechnology/gradle_plugin_android_aspectjx/issues/287);
2、Hilt版本2.28-alpha,使用aspectjx插件后,生成的Hilt_Applica…
lk666 updated
3 years ago
-
-
Should I add them inside buildSrc folder?
```
plugins {
`kotlin-dsl`
}
repositories {
google()
mavenCentral()
}
dependencies {
implementation(group = "com.android.tools…
-
https://dagger.dev/hilt/
https://medium.com/androiddevelopers/dependency-injection-on-android-with-hilt-67b6031e62d
Dagger Hiltのドキュメントが公開されました。また、Googleの方によるブログも公開されています。
-
From what I understand, multi-bindings must currently be defined in a component. From the README:
```
@Component
abstract class MyComponent {
abstract val fooMap: Map
@IntoMap
@P…
-
https://github.com/LeoAndo/AndroidGithubSearch/pull/13/files#r1056317237
の通り、Dagger側で不具合修正されたら、この依存関係は削除したい。
-
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…