For example in this situation:
this.progressBar.visibility = View.INVISIBLE
Here I know which constant to look for (as I know I want to hide