I assume there is a bug somewhere between AS or th...
# announcements
j
I assume there is a bug somewhere between AS or the kotlin compiler? anything I can do besides having the warning for the time being?
e
what version of livedata? looks like https://issuetracker.google.com/issues/183696616 or https://issuetracker.google.com/issues/169249668 (there's several livedata lint bugs)
j
hmm could be.... using that right now:
Copy code
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
which seem to be the latest
e
yeah, that's new enough to have the lint rule and old enough to not pick up some bug fixes (which aren't in a stable release yet)
j
ok 😅 i’ll just leave the
!!
for now then so that my CI build is happy and remove them when I update the dependency thanks! 😊
j
I had the same today with a
mapOf("x" to "y", ...)
and then somewhere deeper in the code I got “x may be null” … It definitely may not be null