Create an Android Lint rule for disallowing use of the androidx viewModelScope
RBusarow opened this issue · comments
Rick Busarow commented
The dispatch.android.lifecycle.viewmodel
package is meant to replace all use of viewModelScope
from androidx
.
There should be a standalone Lint rule to prevent usage of the Android version.
Rick Busarow commented
Since the Dispatch version of viewModelScope
wound up being a member property inside an abstract class, it would be impossible to accidentally use the Androidx version.