In this mini Fragment, we introduce Joshua’s third Item: Enforce the Singleton property with a private constructor or an enum type. Stay tuned for more items from our “Effective Java for Android developers” Fragment series. Show Notes: Effective Java (2nd Edition) – Joshua Bloch Enforce the Singleton property with a private constructor or an enum […]
In this episode, you’ll learn all about Kotlin Sealed classes. Donn walks you through what they are, how to create them, how to use data classes, objects and regular classes to create a restricted type hierarchy.
Learn Kotlin on Android Tutorial. We use the ProgressDialog while doing Network Communication Because user shouldn’t interrupt the network call. Also, we show this when we do any long progress(less than 30sec). Source Code Link: Download Android Studio 3.0 Stable Release:
CodeAndroid – Learn Kotlin for android Development Layout File (activity_main.xml) : Kotlin File (MainActivity.kt) :
CodeAndroid – Learn Kotlin for android Development