0.1.0
Changed
- Make
ViewModel.viewModelScope
public.
Added
- Add an
ViewModel.addCloseable
API and a new constructor overloadconstructor(vararg closeables: Closeable)
,
that allow you to add one or moreCloseable
objects to theViewModel
that will be closed when theViewModel
is cleared without requiring any manual work inonCleared()
.