-
In the **Architecting your Compose UI**, Pass the data section has a code of :
```
import androidx.lifecycle.viewmodel.compose.viewModel
@Composable
fun GameScreen(
gameViewModel: GameViewMo…
-
fun resetGame() {
usedWords.clear()
_uiState.value = GameUiState(currentScrambledWord = pickRandomWordAndShuffle())
}
error in usedWords.clear()
because it null
Caused by: java.l…
-
### Steps to reproduce
![Screenshot 2024-08-19 at 12 28 00 PM](https://github.com/user-attachments/assets/e8f8d8a3-b0a7-4a66-a7b0-21b193058419)
https://github.com/user-attachments/assets/ccab6ca…
-
in unit 4 , pathway 2, chapter "Practice: add a view model to dessert clicker", subsection 3 (Set up dependencies), it has been instructed to add following variable to the build.gradle file ->
builds…
-
### Describe the Bug
Wasm error when adding the koin-compose-viewmodel artifact.
**To Reproduce**
Download the Compose Multiplatform template from [kmp.jetbrains.com](https://kmp.jetbrains.com/…
-
**Describe the bug**
Currently I'm trying to load a view model into a fragment, which is using android navigation.
The issue here is that if I try to load a view model annotated with **KoinViewModel…
-
Hello,
I was following the course, and got an error on the "viewModel" part 5. After a while of investigation where the error came from, I finally look to the result code at the end, and got the sa…
-
**Describe the bug**
I am working on a KMP project where we are using Koin for the DI framework. There is no issue with Koin and the KMP side of the project, but there is one with the Android side.
…
-
I got this error when I try to launch it. What is the problem? Thanks.
java.lang.IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY`
…
-
### Step 1: Describe your environment
* Android device: Android Emualtor
* Android OS version: Android 11
* Google Play Services version: 21.2.0
* Firebase/Play Services SDK version:…