Swati RastogiActivity with Fragment LifecycleWhen a fragment is attached to an Activity, Below is the lifecycle.1 min read·Aug 14, 2020----
Swati RastogiSingleton in Kotlin Part IITo check what is a Singleton and how it can be declared in Kotlin and Java, refer to the previous post here —1 min read·Jun 27, 2020----
Swati RastogiSingleton in KotlinSingleton means only a single instance can be created even in multithreading. Kotlin provides a very simple way of declaring a singleton…1 min read·Jun 27, 2020----