Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
P
PDF Viewer Scanner White ago
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kuxulei
PDF Viewer Scanner White ago
Commits
e0748597
Commit
e0748597
authored
Sep 29, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
0971d4bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
DocumentFragment.kt
...om/base/pdfviewerscannerwhite/ui/main/DocumentFragment.kt
+3
-6
fragment_document.xml
app/src/main/res/layout/fragment_document.xml
+1
-2
No files found.
app/src/main/java/com/base/pdfviewerscannerwhite/ui/main/DocumentFragment.kt
View file @
e0748597
...
...
@@ -208,9 +208,7 @@ class DocumentFragment(
(
requireActivity
()
as
MainActivity
).
changeSelectUI
(
true
)
if
(
currentPage
is
DocumentPageFragment
)
{
(
currentPage
as
DocumentPageFragment
).
changeSelectUi
(
true
)
}
currentPage
.
changeSelectUi
(
true
)
}
else
{
binding
.
viewPager2
.
isUserInputEnabled
=
true
(
requireActivity
()
as
MainActivity
).
callback
.
isEnabled
=
false
...
...
@@ -232,9 +230,7 @@ class DocumentFragment(
}
private
fun
changePageSelect
(
select
:
Boolean
)
{
if
(
currentPage
is
DocumentPageFragment
)
{
(
currentPage
as
DocumentPageFragment
).
changItemSelect
(
select
)
}
currentPage
.
changItemSelect
(
select
)
}
...
...
@@ -247,6 +243,7 @@ class DocumentFragment(
binding
.
ivPaixu
.
visibility
=
View
.
INVISIBLE
binding
.
ivXuanze
.
visibility
=
View
.
INVISIBLE
binding
.
llMainContent
.
visibility
=
View
.
INVISIBLE
binding
.
llEmpty
.
visibility
=
View
.
INVISIBLE
binding
.
flFanhui
.
visibility
=
View
.
VISIBLE
binding
.
editSearch
.
visibility
=
View
.
VISIBLE
...
...
app/src/main/res/layout/fragment_document.xml
View file @
e0748597
...
...
@@ -3,8 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".ui.main.RecentFragment"
>
android:layout_height=
"match_parent"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_top"
...
...
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