Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
王海
TangKuPos
Commits
86bad2c6
Commit
86bad2c6
authored
Jan 15, 2018
by
王海
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
fb602576
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
app/src/main/java/com/xingdata/zzdpos/ui/manage/bale/fragment/BaleEditFragment.java
...data/zzdpos/ui/manage/bale/fragment/BaleEditFragment.java
+3
-2
app/src/main/res/layout/item_bale_edit.xml
app/src/main/res/layout/item_bale_edit.xml
+3
-1
app/src/main/res/layout/item_bale_edit_query.xml
app/src/main/res/layout/item_bale_edit_query.xml
+2
-2
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/manage/bale/fragment/BaleEditFragment.java
View file @
86bad2c6
...
@@ -84,8 +84,8 @@ public class BaleEditFragment extends BaseFragment<BalePresenter, FragmentBaleEd
...
@@ -84,8 +84,8 @@ public class BaleEditFragment extends BaseFragment<BalePresenter, FragmentBaleEd
mViewBinding
.
rvShopItemList
.
addItemDecoration
(
new
DividerItemDecoration
(
getActivity
(),
mViewBinding
.
rvShopItemList
.
addItemDecoration
(
new
DividerItemDecoration
(
getActivity
(),
DividerItemDecoration
.
VERTICAL
));
DividerItemDecoration
.
VERTICAL
));
mViewBinding
.
rvShopItemList
.
setAdapter
(
queryShopAdapter
);
mViewBinding
.
rvShopItemList
.
setAdapter
(
queryShopAdapter
);
queryShopAdapter
.
setOnItemClickListener
((
adapter
,
view
,
position
)
->
clickProduct
//
queryShopAdapter.setOnItemClickListener((adapter, view, position) -> clickProduct
(
queryShopAdapter
.
getData
().
get
(
position
)));
//
(queryShopAdapter.getData().get(position)));
editFragmentImgShopAdapter
=
new
EditFragmentImgShopAdapter
(
R
.
layout
editFragmentImgShopAdapter
=
new
EditFragmentImgShopAdapter
(
R
.
layout
.
item_bale_editfragment_img
,
listData
);
.
item_bale_editfragment_img
,
listData
);
...
@@ -219,6 +219,7 @@ public class BaleEditFragment extends BaseFragment<BalePresenter, FragmentBaleEd
...
@@ -219,6 +219,7 @@ public class BaleEditFragment extends BaseFragment<BalePresenter, FragmentBaleEd
super
.
convert
(
helper
,
item
);
super
.
convert
(
helper
,
item
);
ItemBaleEditBinding
mItemViewBinding
=
(
ItemBaleEditBinding
)
helper
.
mViewBinding
;
ItemBaleEditBinding
mItemViewBinding
=
(
ItemBaleEditBinding
)
helper
.
mViewBinding
;
mItemViewBinding
.
tvGoodsSize
.
setText
(
"规格/"
+
item
.
getSpuUnitName
());
if
(
item
.
isEdit
())
{
if
(
item
.
isEdit
())
{
mItemViewBinding
.
llUpDown
.
setVisibility
(
View
.
GONE
);
mItemViewBinding
.
llUpDown
.
setVisibility
(
View
.
GONE
);
mItemViewBinding
.
llEdit
.
setVisibility
(
View
.
VISIBLE
);
mItemViewBinding
.
llEdit
.
setVisibility
(
View
.
VISIBLE
);
...
...
app/src/main/res/layout/item_bale_edit.xml
View file @
86bad2c6
...
@@ -109,6 +109,7 @@
...
@@ -109,6 +109,7 @@
android:layout_marginEnd=
"@dimen/all_margin"
android:layout_marginEnd=
"@dimen/all_margin"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@color/white"
android:background=
"@color/white"
android:onClick=
"@{onClick}"
android:src=
"@mipmap/but_reduce"
/>
android:src=
"@mipmap/but_reduce"
/>
...
@@ -138,6 +139,7 @@
...
@@ -138,6 +139,7 @@
android:layout_marginStart=
"@dimen/all_margin"
android:layout_marginStart=
"@dimen/all_margin"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:background=
"@color/white"
android:background=
"@color/white"
android:onClick=
"@{onClick}"
android:src=
"@mipmap/but_add"
android:src=
"@mipmap/but_add"
android:visibility=
"visible"
android:visibility=
"visible"
tools:layout_editor_absoluteX=
"666dp"
tools:layout_editor_absoluteX=
"666dp"
...
@@ -185,9 +187,9 @@
...
@@ -185,9 +187,9 @@
android:id=
"@+id/btn_edit_ok"
android:id=
"@+id/btn_edit_ok"
android:layout_width=
"55dp"
android:layout_width=
"55dp"
android:layout_height=
"27dp"
android:layout_height=
"27dp"
android:onClick=
"@{onClick}"
android:layout_marginStart=
"@dimen/all_margin"
android:layout_marginStart=
"@dimen/all_margin"
android:background=
"@drawable/shape_black_solid_blue"
android:background=
"@drawable/shape_black_solid_blue"
android:onClick=
"@{onClick}"
android:text=
"确定"
android:text=
"确定"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
/>
/>
...
...
app/src/main/res/layout/item_bale_edit_query.xml
View file @
86bad2c6
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:gravity=
"left"
android:gravity=
"left"
android:lines=
"
2
"
android:lines=
"
1
"
android:maxLines=
"
2
"
android:maxLines=
"
1
"
android:text=
"生日蛋糕组装礼盒带增补品啊是的那是代表开机速度卡角度看啦啦;等哈阿大大"
android:text=
"生日蛋糕组装礼盒带增补品啊是的那是代表开机速度卡角度看啦啦;等哈阿大大"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"@dimen/all_text_size"
android:textSize=
"@dimen/all_text_size"
...
...
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