修改收益页面刷新,布局

This commit is contained in:
18401019693 2023-11-03 17:57:02 +08:00
parent 4217da241d
commit f78ba226f9
2 changed files with 11 additions and 1 deletions

View File

@ -98,6 +98,15 @@ public class MyArnActivity extends AbsOTOActivity {
}); });
} }
@Override
protected void onResume() {
super.onResume();
page = 1;
refreshMyArn();
}
private void refreshMyArn() { private void refreshMyArn() {
OTONetManager.getInstance(mContext).getFriendAppMoneyLogModel("3", "1", page, new HttpCallback<List<FriendAppMoneyLogModel>>() { OTONetManager.getInstance(mContext).getFriendAppMoneyLogModel("3", "1", page, new HttpCallback<List<FriendAppMoneyLogModel>>() {
@Override @Override
@ -140,7 +149,7 @@ public class MyArnActivity extends AbsOTOActivity {
ToastUtil.show(error); ToastUtil.show(error);
} }
}); });
refreshMyArn(); // refreshMyArn();
} }
private void onConversationListLoadMore() { private void onConversationListLoadMore() {

View File

@ -62,6 +62,7 @@
android:id="@+id/money" android:id="@+id/money"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="9dp"
android:ellipsize="end" android:ellipsize="end"
android:maxEms="5" android:maxEms="5"
android:singleLine="true" android:singleLine="true"