In my activity, I inject instance view model factory, and then create the view model. The functions are given as follows. The implementation invokes a method in view model t