
tab1 inside that is an activity and then I think the point of the state of the toggle button inside tab1 notice outside tab automatically switches
I know how to switch
The question is what means the notification tab activity outside of it
this.tabHost.setCurrentTabByTag (TAB_TAG_CAET); This method can be switched
Notify the parent window
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
You can use the handler, button click: handler.sendmessage notify the parent window, then the parent window can be handled accordingly
Reply:
I understand what you mean, the most important is MainActivity declared a handler but the button in the child window child window can not reference MainActivity the handler attribute ah? ?
Do not know if you understand my confusion where it?
Reply:
The easiest way is to directly define the static handler
Reply:
Relationship asynchronous threads and the main thread, the definition handler sends messager, by messager to change,,,
Reply:
One thing still a lot of things can be static. . . It will not be out of memory. .
No comments:
Post a Comment