1:修改初始的时候更改图标

This commit is contained in:
2025-09-19 19:04:47 +08:00
parent c446c7bb49
commit f12ed5ef84
14 changed files with 78 additions and 27 deletions

View File

@@ -40,10 +40,7 @@ public class PersonalityActivity extends BaseMvpActivity<PersonalityPresenter, A
@Override
protected void initData() {
if (MvpPre==null){
MvpPre=bindPresenter();
}
MvpPre.getPersonaltyList();
// titleList.add("头像框");
@@ -108,6 +105,15 @@ public class PersonalityActivity extends BaseMvpActivity<PersonalityPresenter, A
}
@Override
protected void onResume() {
super.onResume();
if (MvpPre==null){
MvpPre=bindPresenter();
}
MvpPre.getPersonaltyList();
}
@Override
protected PersonalityPresenter bindPresenter() {
return new PersonalityPresenter(this, this);

View File

@@ -23,7 +23,7 @@
android:layout_width="@dimen/dp_80"
android:layout_height="@dimen/dp_80"
android:layout_marginTop="@dimen/dp_100"
android:src="@mipmap/ic_launcher_round"
android:src="@mipmap/ic_launcher_round_app"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />