@Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); if (hasFocus) { changeBindText(); } }
@Override public void onClick(View v) { super.onClick(v); switch (v.getId()) { case R.id.more_bind: if (getBoleanValueForKey(LOCAL_CONFIGKEY_BIND_FLG)) { startActivity(new Intent(this, ChangeBindActivity.class)); } else { startActivity(new Intent(this, BindActivity.class)); } break; case R.id.more_recommend: openShare(); break; case R.id.more_haoping: startActivity(new Intent(this, HaoPinTestActivity.class)); break; case R.id.moreCheckUpdate: showToast(R.string.more_update_text); break; case R.id.more_About: break; default: break; } }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_more); }