Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lify
RvApp
Commits
6992a861
Commit
6992a861
authored
Jul 09, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员模块消费记录图片不显示的问题
parent
7fc2e0dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
ConsumeRecordActivity.java
...er/src/main/java/com/rv.member/ConsumeRecordActivity.java
+0
-9
ConsumeRecordListAdapter.java
.../java/com/rv.member/adapter/ConsumeRecordListAdapter.java
+2
-5
No files found.
plugin_member/src/main/java/com/rv.member/ConsumeRecordActivity.java
View file @
6992a861
...
...
@@ -70,15 +70,6 @@ public class ConsumeRecordActivity extends BaseStatusActivity<CommonPresenter> i
if
(
listBean
!=
null
&&
listBean
.
getData
()
!=
null
)
{
pageCount
=
listBean
.
getData
().
getTotalPage
();
lists
.
addAll
(
listBean
.
getData
().
getData
());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
// lists.add(new OrderListBean.DataBeanX.DataBean());
adapter
.
notifyDataSetChanged
();
}
}
...
...
plugin_member/src/main/java/com/rv.member/adapter/ConsumeRecordListAdapter.java
View file @
6992a861
...
...
@@ -30,9 +30,6 @@ public class ConsumeRecordListAdapter extends BaseQuickAdapter<OrderListBean.Dat
@Override
protected
void
convert
(
BaseViewHolder
helper
,
final
OrderListBean
.
DataBeanX
.
DataBean
bean
)
{
ImageView
imgCarType
=
helper
.
itemView
.
findViewById
(
R
.
id
.
img_car_type
);
GlideManager
.
getInstance
(
mContext
).
loadImage
(
"https://xxtest.upyuns.com/image/admin/2019-06-27/4.png"
,
imgCarType
,
160
,
160
);
if
(
bean
!=
null
)
{
if
(!
TextUtils
.
isEmpty
(
bean
.
getCrtTime
()))
{
helper
.
setText
(
R
.
id
.
tv_consume_time
,
"下单时间: "
+
bean
.
getCrtTime
());
...
...
@@ -49,8 +46,8 @@ public class ConsumeRecordListAdapter extends BaseQuickAdapter<OrderListBean.Dat
helper
.
setText
(
R
.
id
.
tv_price
,
"¥"
+
bean
.
getOrderAmount
());
if
(!
TextUtils
.
isEmpty
(
bean
.
getPicture
()))
{
//
ImageView imgCarType = helper.itemView.findViewById(R.id.img_car_type);
GlideManager
.
getInstance
(
mContext
).
loadImage
(
bean
.
get
Picture
(),
imgCarType
);
ImageView
imgCarType
=
helper
.
itemView
.
findViewById
(
R
.
id
.
img_car_type
);
GlideManager
.
getInstance
(
mContext
).
loadImage
(
bean
.
get
Icon
(),
imgCarType
);
}
}
OrderListBean
.
DataBeanX
.
DataBean
.
OrderRentVehicleDetail
vehicleDetail
=
bean
.
getOrderRentVehicleDetail
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment