Mark
05/02/2020, 7:05 AMisPreN
so that the compiler can infer SDK availability? I tried inline val
but that doesn’t seem to do anything. I also tried inline fun
which does work but then there is a warning about impacting on performance. Regardless, why doesn’t inline val
work?
val isPreN
get() = VERSION.SDK_INT < VERSION_CODES.N