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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -