作者 朱振飞

add

... ... @@ -30,6 +30,7 @@ import com.yinhebairong.clasmanage.ui.my.Select_StudentActivity;
import com.yinhebairong.clasmanage.ui.my.StudentHeadImgActivity;
import com.yinhebairong.clasmanage.ui.my.view.PromptDialog;
import com.yinhebairong.clasmanage.utils.SharedPreferenceUtil;
import com.yinhebairong.clasmanage.view.DebugLog;
import com.yinhebairong.clasmanage.widget.CircleImageView;
import butterknife.BindView;
... ... @@ -38,7 +39,6 @@ import io.reactivex.Observer;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
import tv.danmaku.ijk.media.player.pragma.DebugLog;
/**
* A simple {@link Fragment} subclass.
... ... @@ -83,7 +83,7 @@ public class MineFragment_per extends BaseFragment {
tv_phone.setText(loginEntity.getData().getUser().getPhone());
if (Config.StudentPhoto != null && Config.StudentPhoto.length() > 0) {
Glide.with(getActivity()).load(Config.StudentPhoto).apply(requestOptions).into(img_student);
}else{
} else {
img_student.setImageResource(R.mipmap.man_icon);
}
if (null != loginEntity.getData().getUser().getPhoto()) {
... ... @@ -152,14 +152,12 @@ public class MineFragment_per extends BaseFragment {
@Override
public void onNext(ParentsInfoBean teacherInfoBean) {
Log.e("onNext==", "2");
if (teacherInfoBean.getCode() == M.success) {
if (null != teacherInfoBean.getData()) {
// if(tv_phone==null){
// Log.e("tv_phone===null", "tv_phone===null");
// return;
// }
Log.e("teacherInfoBean==", teacherInfoBean.getData().getName());
teacherName.setText(teacherInfoBean.getData().getName());
tv_phone.setText(teacherInfoBean.getData().getAccount());
if (null != teacherInfoBean.getData().getPhoto()) {
... ... @@ -199,11 +197,12 @@ public class MineFragment_per extends BaseFragment {
@Override
public void onResume() {
super.onResume();
Log.e("StudentPhoto===", "666===" + Config.StudentPhoto);
Config.StudentPhoto = (String) SharedPreferenceUtil.get(getActivity(), M.STUDENTPHOTO, Config.StudentPhoto);
if (Config.StudentPhoto != null) {
if (Config.StudentPhoto != null && Config.StudentPhoto.length() > 0) {
RequestOptions requestOptions = new RequestOptions();
Glide.with(getActivity()).load(Config.StudentPhoto).apply(requestOptions).into(img_student);
} else {
img_student.setImageResource(R.mipmap.man_icon);
}
}
... ...
... ... @@ -48,7 +48,7 @@
android:background="@null"
android:hint="请输入账号"
android:maxLines="1"
android:text="13769183554"
android:text="13888712069"
android:textColor="@color/color_bdc4ce"
android:textSize="@dimen/sp_16" />
... ...
#Wed Apr 08 09:07:02 CST 2020
#Wed Apr 08 13:49:07 CST 2020
D\:\\bro\\ClasManage\\qrcodecore\\src\\main\\res\\mipmap-xxhdpi\\qrcode_default_grid_scan_line.png=D\:\\bro\\ClasManage\\qrcodecore\\build\\intermediates\\packaged_res\\debug\\mipmap-xxhdpi-v4\\qrcode_default_grid_scan_line.png
D\:\\bro\\ClasManage\\qrcodecore\\src\\main\\res\\mipmap-xxhdpi\\qrcode_default_scan_line.png=D\:\\bro\\ClasManage\\qrcodecore\\build\\intermediates\\packaged_res\\debug\\mipmap-xxhdpi-v4\\qrcode_default_scan_line.png
... ...