I was trying to set the visibility of a view in android using ButterKnife with Kotlin
I got the id in butterknife like:
@BindView(R.id.progress)
lateinit var progress: ProgressBar
The visibility can be set in Java like: (As we know)
progress.setVisibility(View.VISIBLE);
progress.setVisibility(View.GONE);
I tried: progress.visibility to .... ?
How will it be in kotlin with ButterKnife?