nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

[Documentation]: Why is NiaAppState uses @composable get function instead of global instance of derivedStateOf ?

Open thegarlynch opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Page URL (type "NEW" for a new page suggestion)

NEW

What's the documentation problem or suggestion?

Why is NiaAppState uses @Composable get function instead of global instance of derivedStateOf ?

(https://github.com/android/nowinandroid/blob/main/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaAppState.kt)

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

thegarlynch avatar Oct 24 '22 17:10 thegarlynch