I have a progressbar in my layout in Android and i want to change its visibility inside the viewmodel. But application only gets the first state of progressbar. Whenever i try t