Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
HBHAndroid
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
杨秀秀
HBHAndroid
Commits
b8a30fec
Commit
b8a30fec
authored
Oct 16, 2023
by
小费同学阿
💬
Committed by
杨秀秀
Nov 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
67029 【企业app-android】诉求管理的已完成的界面点击应该诉求详情界面
parent
a0b6f26a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
AppealOperationFragment.java
...com/xx/hbhbcompany/ui/appeal/AppealOperationFragment.java
+5
-0
fragment_operation_appeal.xml
...company/src/main/res/layout/fragment_operation_appeal.xml
+1
-0
No files found.
hbhbcompany/src/main/java/com/xx/hbhbcompany/ui/appeal/AppealOperationFragment.java
View file @
b8a30fec
...
@@ -3,6 +3,7 @@ package com.xx.hbhbcompany.ui.appeal;
...
@@ -3,6 +3,7 @@ package com.xx.hbhbcompany.ui.appeal;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.LayoutInflater
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.ViewGroup
;
import
androidx.annotation.Nullable
;
import
androidx.annotation.Nullable
;
...
@@ -42,6 +43,10 @@ public class AppealOperationFragment extends BaseFragment<FragmentOperationAppea
...
@@ -42,6 +43,10 @@ public class AppealOperationFragment extends BaseFragment<FragmentOperationAppea
super
.
initData
();
super
.
initData
();
//展示上传图片列表
//展示上传图片列表
AppealOperationListAdapter
adapter
=
new
AppealOperationListAdapter
(
getContext
());
AppealOperationListAdapter
adapter
=
new
AppealOperationListAdapter
(
getContext
());
/*既要保证不报空指针异常又要满足无内容不显示*/
if
(
adapter
.
mList
!=
null
&&
adapter
.
mList
.
size
()
>
0
)
{
binding
.
rvOrderList
.
setVisibility
(
View
.
VISIBLE
);
}
binding
.
rvOrderList
.
setAdapter
(
adapter
);
binding
.
rvOrderList
.
setAdapter
(
adapter
);
viewModel
.
AppealOperationList
.
observe
(
this
,
new
Observer
<
List
<
AppealBean
.
OperationsBean
>>()
{
viewModel
.
AppealOperationList
.
observe
(
this
,
new
Observer
<
List
<
AppealBean
.
OperationsBean
>>()
{
...
...
hbhbcompany/src/main/res/layout/fragment_operation_appeal.xml
View file @
b8a30fec
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
<!--内容切换-->
<!--内容切换-->
<androidx.recyclerview.widget.RecyclerView
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_Order_list"
android:id=
"@+id/rv_Order_list"
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"17dp"
android:layout_marginTop=
"17dp"
...
...
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