deactivateduser
12/15/2019, 9:23 AMdawidhyzy
12/15/2019, 10:05 AMdeactivateduser
12/15/2019, 11:11 AMtseisel
12/15/2019, 5:20 PMViewModel
should never keep a reference to a View, Fragment or Activity.
Your crash is due to the fact that CardViewModel
has a constructor parameter, so the framework is unable to instantiate it (only no-args constructors are allowed, unless you specify a factory). Check your implementation of ViewModelProvider.Factory
for CardViewModel
.deactivateduser
12/16/2019, 9:18 AM