android - Update check-boxes status with visibility change -


i having check boxes control visibility of different views. when check box status changed visibility changed, working fine. in app views visibility changes on different user input. want update checkbox status if visibility of view change way. there way it.

you have put

checkbox.setchecked(true); 

anywhere call

someview.setvisibility(view.invisible); 

there no way afaik can inherently "watch" visibility state, have active set checked state @ same time change visibility state.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -