1 min readMar 2, 2020
You should probably clear the reference to the Lifecycle after it’s destroyed or you may get a small memory leak. You should make it a nullable var instead of a lateinit var.
You should probably clear the reference to the Lifecycle after it’s destroyed or you may get a small memory leak. You should make it a nullable var instead of a lateinit var.
Android developer from Belgium, blogging about advanced programming topics.