commit | 4241d874d38022f15344a333cd7cfb463fd83cba | [log] [tgz] |
---|---|---|
author | Alejandro Nijamkin <nijamkin@google.com> | Sun Aug 18 15:57:14 2024 -0700 |
committer | Alejandro Nijamkin <nijamkin@google.com> | Mon Aug 19 20:30:08 2024 -0700 |
tree | 82bfc31735f11bfb76a7a1db67fe01973aa35a8a | |
parent | 465342be16a1f7459e8f5cf9e05b42ae748a17a0 [diff] |
SysUiViewModel.hydratedStateOf Adds hydratedStateOf - a utility to help developers define a "hydrated" (kept up-to-date) snapshot state (AKA compose State) property with a single line of code and without needing to add a collector in the activation code. Bug: 354269846 Test: unit tests added Test: manually verified with the next CL Flag: NONE unused utility (in this CL) Change-Id: Ibe0ccc623253d6df76cdef5c0842dda381b5a48a