# android

Francesco megna

09/09/2018, 7:06 PM
Hi guys, I have an hot question. I have a mutableLiveData in the viewModel and i use that variable in a BindingAdapter, for change visibility of some elements on the change of the liveData, the solution work but the BindingAdapter function is called in loop. I don’t understand why the function is called in loop. Anyone can help me?
stackoverflow 8