我的页面bugfix
This commit is contained in:
@@ -847,6 +847,11 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
|
||||
tempFragment = showFragment;
|
||||
if (!isDestroyed()) transaction.commitNowAllowingStateLoss();
|
||||
mCurrentTabType = tabType;
|
||||
|
||||
//每次点击我的都更新当前用户信息
|
||||
if (mCurrentTabType == MainTabType.TAB_TYPE_ME) {
|
||||
UserModel.get().updateCurrentUserInfo().subscribe();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user