If we have an Object like this
object Repo { var activeMovies: ArrayList<Movie>? = null }
and then we call it like this to assign a value
Repo.activeMovies = movieList
after the Activity that instantiated it is finish, does it get Garbage Collected?
I know this may be very basic question but I cannot understand the lifecycle if the object type in Kotlin.