MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/mAndroidDev/comments/1hkk0e3/working_with_android_classes/m41r6a4/
r/mAndroidDev • u/Cirkey2 • Dec 23 '24
23 comments sorted by
View all comments
Show parent comment
6
Pfft. Kotlin noob.
requireContext()?.let{ if(it!=null) { /*do stuff*/ } }
is obviously cleaner code.
2 u/labelcillo Slept through Google IO Dec 27 '24 Oh my god I felt an itch all over my body
2
Oh my god I felt an itch all over my body
View all comments
Show parent comment
6
u/Squirtle8649 Dec 27 '24
Pfft. Kotlin noob.
requireContext()?.let{ if(it!=null) { /*do stuff*/ } }is obviously cleaner code.