|
@@ -16,6 +16,7 @@ import com.cooleshow.base.common.WebConstants;
|
|
import com.cooleshow.base.constanst.Constants;
|
|
import com.cooleshow.base.constanst.Constants;
|
|
import com.cooleshow.base.router.RouterPath;
|
|
import com.cooleshow.base.router.RouterPath;
|
|
import com.cooleshow.base.ui.fragment.BaseMVPFragment;
|
|
import com.cooleshow.base.ui.fragment.BaseMVPFragment;
|
|
|
|
+import com.cooleshow.base.utils.GlideUtils;
|
|
import com.cooleshow.base.utils.SizeUtils;
|
|
import com.cooleshow.base.utils.SizeUtils;
|
|
import com.cooleshow.base.utils.TimeUtils;
|
|
import com.cooleshow.base.utils.TimeUtils;
|
|
import com.cooleshow.base.utils.UiUtils;
|
|
import com.cooleshow.base.utils.UiUtils;
|
|
@@ -378,6 +379,8 @@ public class NewHomeFragment extends BaseMVPFragment<FragmentNewHomeLayoutBindin
|
|
refreshBottomData();
|
|
refreshBottomData();
|
|
//获取推荐达人列表
|
|
//获取推荐达人列表
|
|
presenter.getRecommendTalentList();
|
|
presenter.getRecommendTalentList();
|
|
|
|
+ //查询个人信息
|
|
|
|
+ presenter.queryUserInfo();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -542,7 +545,11 @@ public class NewHomeFragment extends BaseMVPFragment<FragmentNewHomeLayoutBindin
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void queryUserInfoSuccess(StudentUserInfo data) {
|
|
public void queryUserInfoSuccess(StudentUserInfo data) {
|
|
-
|
|
|
|
|
|
+ if (TextUtils.isEmpty(data.subjectName)) {
|
|
|
|
+ ARouter.getInstance().build(RouterPath.MineCenter.MINE_TEACHABLE_INSTRUMENT)
|
|
|
|
+ .withBoolean("hintBar", true)
|
|
|
|
+ .navigation();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|