@Override public void sendQqEntity(QqLoginEntity entity, int channel) { // TODO Auto-generated method stub super.sendQqEntity(entity, channel); findViewById(R.id.layout_qq_login).setEnabled(false); findViewById(R.id.layout_phone).setEnabled(false); bindPhone.setVisibility(View.GONE); bindQQ.setVisibility(View.GONE); if (mToken == null) { if (channel == 1) { phoneNum.setText(getString(R.string.login_loading)); phoneBar.setVisibility(View.VISIBLE); } else if (channel == 2) { qqBar.setVisibility(View.VISIBLE); qqName.setText(getString(R.string.login_loading)); findViewById(R.id.qq_arrow).setVisibility(View.GONE); } } else { if (channel == 1) { phoneBar.setVisibility(View.VISIBLE); phoneNum.setText(getString(R.string.bind_loading)); } else if (channel == 2) { qqBar.setVisibility(View.VISIBLE); qqName.setText(getString(R.string.bind_loading)); } } }