|
|
@@ -202,10 +202,9 @@ public class MainActivity extends BaseActivity implements NetWorkObservable.NetW
|
|
|
if (mWorksFragment == null) {
|
|
|
mWorksFragment = new WorksFragment();
|
|
|
}
|
|
|
- changeFragment(mWorksFragment, TAG_NEARBY);//
|
|
|
+ changeFragment(mWorksFragment, TAG_NEARBY);
|
|
|
getSupportActionBar().setTitle(R.string.nearby);
|
|
|
// PreferenceUtils.putLong(mContext, TIME_MAIN, timeMin);
|
|
|
- unWorkReadTV.setVisibility(View.GONE);
|
|
|
}
|
|
|
/* else if (checkedId == R.id.main_tab_four) {
|
|
|
if (mGroupChatFragment == null) {
|
|
|
@@ -220,6 +219,7 @@ public class MainActivity extends BaseActivity implements NetWorkObservable.NetW
|
|
|
}
|
|
|
changeFragment(mMeFragment, TAG_ME);//我
|
|
|
getSupportActionBar().setTitle(R.string.me);
|
|
|
+ unWorkReadTV.setVisibility(View.GONE);
|
|
|
}
|
|
|
}
|
|
|
};
|