Fixed
Status Update
Comments
se...@google.com <se...@google.com> #2
Jeremy, Ian, do you have any ideas what happened?
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit afee2f0a2c3e6e967cf22bcd37022e590b2919af
Author: Jeremy Woods <jbwoods@google.com>
Date: Mon May 04 14:08:38 2020
Publish lifecycle-livedata-core-ktx-lint in the library
We need to publish the lint rule in the lifecycle-livedata-core-ktx
gradle module so that developers can get it in their code.
Test: tested in sample app
Bug: 155323109
Change-Id: I912d9cf4c9c07065750691d4ef88374174a53554
M lifecycle/lifecycle-livedata-core-ktx-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
M lifecycle/lifecycle-livedata-core-ktx/build.gradle
https://android-review.googlesource.com/1302157
Branch: androidx-master-dev
commit afee2f0a2c3e6e967cf22bcd37022e590b2919af
Author: Jeremy Woods <jbwoods@google.com>
Date: Mon May 04 14:08:38 2020
Publish lifecycle-livedata-core-ktx-lint in the library
We need to publish the lint rule in the lifecycle-livedata-core-ktx
gradle module so that developers can get it in their code.
Test: tested in sample app
Bug: 155323109
Change-Id: I912d9cf4c9c07065750691d4ef88374174a53554
M lifecycle/lifecycle-livedata-core-ktx-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
M lifecycle/lifecycle-livedata-core-ktx/build.gradle
il...@google.com <il...@google.com> #4
We've fixed the issue that caused the test to not be published with the library and it'll be available in Lifecycle 2.3.0-alpha03. We're tracking additional improvements in
Description
Component used: lifecycle-livedata-kt
Version used: 2.3.0-alpha02
Devices/Android versions reproduced on: N/A
According to the release note , a new lint check for the null value of MutableLiveData is released.
However, It seems not available yet.
In addition, I tried the lint check from AOSP source code, but it fails.
The lint check with a local variable is working. But, instance fields like below code is failed.
Part of the stack trace. I will attach the full stack trace file.
(Run
LINT_PRINT_STACKTRACE=true ./gradlew lint
)Thanks