Fixed
Status Update
Comments
ra...@google.com <ra...@google.com>
mg...@google.com <mg...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Marcello Galhardo <
Link:
Document ViewModel.onCleared
clearing sequence
Expand for full commit details
Document `ViewModel.onCleared` clearing sequence
* The `clear()` method in `ViewModel` is marked as `internal`, so the clearing sequence remains undocumented on developer.android.com. This commit adds documentation for the clearing sequence to the `onCleared()` method.
RelNote: "Document `ViewModel.onCleared` clearing sequence."
Test: N/A
Fixes: 363984116
Change-Id: I586c7a6e962a2ff6227a6cd2707e0fcd73b66575
Files:
- M
lifecycle/lifecycle-viewmodel/src/commonMain/kotlin/androidx/lifecycle/ViewModel.kt
Hash: d0a253888b4b2daf802d38d3f94cabb68813b72d
Date: Mon Dec 02 11:09:35 2024
pr...@google.com <pr...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.lifecycle:lifecycle-viewmodel:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-android:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-desktop:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-iosarm64:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-iossimulatorarm64:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-iosx64:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-linuxarm64:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-linuxx64:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-macosarm64:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-macosx64:2.9.0-alpha08
Description
"For specifics about the clearing sequence, refer to the clear method."
"clear" is a dead link because clear() is marked as internal in the source, so the clearing sequence remains undocumented on