Closed afiqiqmal closed 6 years ago
I have a conditions where need to show and hide several views. it display when button clicked. The problem is, i need to click several times to make it work.. how to fix this?
TransitionManager.beginDelayedTransition(form_ll); switch (id) { case "MC": attachment.setVisibility(View.VISIBLE); spinnerModeRl.setVisibility(View.GONE); spinnerHdRl.setVisibility(View.GONE); break; case "WR": attachment.setVisibility(View.GONE); spinnerModeRl.setVisibility(View.GONE); spinnerHdRl.setVisibility(View.GONE); break; default: spinnerModeRl.setVisibility(View.VISIBLE); spinnerHdRl.setVisibility(View.GONE); attachment.setVisibility(View.GONE); break; }
It seems like the views is overlay other view, on first click..
The second click, it back to original place
is it what im doing it wrong or its a bug? Please advise.
@afiqiqmal so have you found the reason?
I have a conditions where need to show and hide several views. it display when button clicked. The problem is, i need to click several times to make it work.. how to fix this?
It seems like the views is overlay other view, on first click..
The second click, it back to original place
is it what im doing it wrong or its a bug? Please advise.