@Override protected void onResume() { super.onResume(); if (!TextUtils.isEmpty(bean.getSex()) && bean.getSex().equals("0")) { getSupportActionBar().setTitle(R.string.other_date_girl); } }