Learning Android Kotlin

7 ways to null crash Android Kotlin without using !!

Thought there won’t be null crashes if you are not using !! on Kotlin?

Photo by Ivan Vranić on Unsplash

One of the nice bit of Kotlin compared to Java is its ability to handle nullability. If we have a possible null code, Android Studio will error out during compile time. It is indicated clearly…




Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Recommended from Medium

How to Solve the Visibility Issue of Logcat Window in Android Studio?

Curved Corner BottomSheet using Canvas and XML

Cautious: LiveData Transformation Functions are Performed in MainThread

Making Android App A Library Module Instead

Try Saving LiveData Coroutine State

Setup Google Tag Manager with React Native Firebase

Jetpack Compose Image Content ScaleType Fully Illustrated

Boss Spawn Sequence Part 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Sharing Software Development Experience, focus on Mobile. https://elye-project.medium.com/subscribe https://twitter.com/elye_project

More from Medium

Cleaner Code Creating Activity and Fragment

How to Handle a Memory Leak in Android

Understanding Clean Architecture in Android Development

Exo-Player — The DRM Way(Part III)