MarkerClick works but InfoWindowClick does not open ViewModel MarkerClick works but InfoWindowClick does not open ViewModel android android

MarkerClick works but InfoWindowClick does not open ViewModel


In onCreate, put mViewModel.getLiveData().observe(this, new Observer<List<YOUR STUFF>>(){ and in the .observe put the init() method, that is what works for me