1:修改初始的时候更改图标
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user