Think I have four buttons, I want to click one button which will visible some items and at the same time it will invisible/gone others three buttons data. How can I do that please send me sample code.
CodePudding user response:
Show view
myView.setVisibility(View.VISIBLE)
hide view
myView.setVisibility(View.INVISIBLE)
or
myView.setVisibility(View.GONE)
