Gabor Varadi
Feb 25, 2021

If the last value returned from the `?.let {}` is null, then the `?: run {}` section will ALSO run - and this is NOT the same behavior as `if-else`, where the returned value does not matter, the `else` would never run (if the `if` did).

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

No responses yet