So with sdk 28 `parcel.readString()` returns a `St...
# android
j
So with sdk 28
parcel.readString()
returns a
String?
.. but my data class uses
String
.. should I just place
!!
to get rid of the warning?
g
also you can provide default value instead of
!!
if there is any valid ones
m
consider using a
foo?.let{ bar = it}
instead of
!!
unless you really want it to crash
g
This advice doesn’t work well for Parcelable reading