private void updateDataToDatabase() { ThreadFacade.runOnSingleThread( new Runnable() { @Override public void run() { UserDetailFacade.updateUserDetainInfo(mUserDetailInfo.toUserDetailInfoData()); } }); }
@Override public void onRecevicedMsg(int msgRoomType, final String jid, final String msg) { ThreadFacade.runOnSingleThread( new Runnable() { @Override public void run() { onReceivedReplyMessage(jid, msg); } }); }
private void onClickReplyInSubThread(final String msg) { if (!isNetworkConnected()) { return; } showLoadingView(R.string.detail_reply_requesting); ThreadFacade.runOnSingleThread( new Runnable() { @Override public void run() { replyMessage(Integer.parseInt(mUid), msg); mCurrentComment = msg; } }); }