I\'m using android AAC library and Android databinding library in my project. I have AuthActivity and AuthViewModel extends android\'s ViewModel class. In some cases i need
well your approach is quite good. But somehow your interface depends on the activity means if you are reusing your view these interface makes no use or may be for that scenario you have to create new interface to solve your problem.
But if you create an instance of Activity then you have control of it.