我目前正在开发的一个应用程序正在与服务器通信,通信过程在它自己的线程中运行。有异步调用-例如login()和onLoginResponse()。login()在主Activity中调用,响应也在主Activity中处理(onLoginResponse())。在onLoginResponse()方法中有updateGUIState()方法修改布局元素:privatevoidupdateGUIState(){Log.i(TAG,"executingupdateGUIState");arrangeLayoutElements();txtTime.setText(mStrRecordingTi