From 5965c01b38a2e83cecd7616daa11185fc2499303 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 28 五月 2021 10:12:27 +0800 Subject: [PATCH] 特价完善 --- app/src/main/java/com/tejia/lijin/app/ui/mine/OrderSearchResultActivity.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/tejia/lijin/app/ui/mine/OrderSearchResultActivity.java b/app/src/main/java/com/tejia/lijin/app/ui/mine/OrderSearchResultActivity.java index 4c75f0c..f8de9ae 100644 --- a/app/src/main/java/com/tejia/lijin/app/ui/mine/OrderSearchResultActivity.java +++ b/app/src/main/java/com/tejia/lijin/app/ui/mine/OrderSearchResultActivity.java @@ -20,6 +20,8 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; +import com.tejia.lijin.app.ShoppingApplication; +import com.tejia.lijin.app.util.user.UserUtil; import com.wpc.library.content.ConnectivityChangeHelper; import com.wpc.library.recyclerviewhelper.DividerItemDecoration; import com.wpc.library.util.NetUtils; @@ -173,7 +175,7 @@ page++; isLoad = false; iv_loading.setVisibility(View.VISIBLE); - tv_loading.setText("姝e湪鍔犺浇鏇村鏁版嵁"); + tv_loading.setText(getResources().getString(R.string.loading_more_text)); getOrderList(); } } @@ -203,8 +205,7 @@ } private void getOrderList() { - String uid = getSharedPreferences("user", MODE_PRIVATE).getString("uid", ""); - ShoppingApi.getOrderList3(this, page + "", uid, orderNo, + ShoppingApi.getOrderList3(this, page + "", UserUtil.getUid(ShoppingApplication.application), orderNo, new BasicTextHttpResponseHandler() { @Override -- Gitblit v1.8.0