-
There is a mistake in one of tests, In "Write unit test for ViewModel" codelab
@Test
fun gameViewModel_Initialization_FirstWordLoaded()
assertTrue(gameUiState.currentWordCount == 1)
initial valu…
-
Error on the test for Boundary case. **_The assertion for the current word count was set to 1 instead of 0_**
Here is the snippet that flags an error when the test is run
```
@Test
fun gameViewM…
-
Hello,
I have found three issues in the codelab [Write unit tests for ViewModel]
(https://developer.android.com/codelabs/basic-android-kotlin-compose-test-viewmodel?continue=https%3A%2F%2Fdeveloper.…
-
when I send a request with the same url again, it probably reads it from the cache and cannot refresh the screen.
```
class ViewWebPreview extends WidgetBase {
const ViewWebPreview({required th…
-
**Description**
We have a project with multiple modules. In some of them, there are viewModel classes, in which we use the `android.animation.ValueAnimator` class to create and handle a timer.
Whe…
-
On the new Android Studio IDE, the buildscript is not on the project level gradle file. When trying to add the buildscript and the ext, it keeps coming up as an error
-
### Description
In .NET MAUI, when using the Image control to display an image loaded from the Android Gallery using MediaPicker (or directly from a URL), the image disappears when navigating away fr…
uSafi updated
1 month ago
-
It would be very helpful if you added some short usage examples with best practices for Android and iOS. Things are a bit more straight forward on Android since `RevolverViewModel` uses `StateFlow` an…
-
both app_server and app_client build but crash when run app_server I get:
```
2024-03-23 08:12:18.188 32625-32625 AndroidRuntime no....android.kotlin.ble.app.server E FATAL EXCEPTION: mai…
-
[Android API 26 background service limitations](https://developer.android.com/about/versions/oreo/background#services) were introduced. `ReaderCommentService` should either be migrated to `WorkManager…