Closed NotWoods closed 3 years ago
Removes the memory leak created by a ViewModel holding an activity reference!
LiveData
Transformations.map
DataModel
Application
Removes the memory leak created by a ViewModel holding an activity reference!
LiveData
transformations are done usingTransformations.map
, removing the need for a lifecycle owner insideDataModel
.Application
instead.