You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will be updated with the new public API in the next release.
Allow injecting closeable objects into ViewModel
Rather than requiring developers manually override
onCleared() and close any open resources, provide
APIs to allow developers to add one or more
Closeable objects to the ViewModel that will be
closed when the ViewModel is cleared.
As a convenience, provide an additional constructor
for ViewModel that can directly takes one or more
Closeable objects, thus ensuring that injected
parameters can be directly added to the ViewModel.
The text was updated successfully, but these errors were encountered:
https://android-review.googlesource.com/c/platform/frameworks/support/+/1984830
Will be updated with the new public API in the next release.
Allow injecting closeable objects into ViewModel
Rather than requiring developers manually override
onCleared() and close any open resources, provide
APIs to allow developers to add one or more
Closeable objects to the ViewModel that will be
closed when the ViewModel is cleared.
As a convenience, provide an additional constructor
for ViewModel that can directly takes one or more
Closeable objects, thus ensuring that injected
parameters can be directly added to the ViewModel.
The text was updated successfully, but these errors were encountered: