Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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
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
android
android_vedio
Commits
846893bd
Commit
846893bd
authored
Jul 18, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
bfd37ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
RecommendFragment.kt
...java/com/xinfu/helivideo/ui/fragment/RecommendFragment.kt
+0
-2
No files found.
video/app/src/main/java/com/xinfu/helivideo/ui/fragment/RecommendFragment.kt
View file @
846893bd
...
...
@@ -169,14 +169,12 @@ class RecommendFragment : BaseFragment(), View.OnClickListener {
private
fun
handleEditStyle
(
isEdit
:
Boolean
)
{
if
(
isEdit
)
{
// 禁止滑动
vp2_recommend
.
isUserInputEnabled
=
false
iv_edit
.
visibility
=
View
.
GONE
iv_edit_close
.
visibility
=
View
.
VISIBLE
tab_recommend
.
visibility
=
View
.
GONE
tv_edit_text
.
visibility
=
View
.
VISIBLE
}
else
{
// 允许滑动
vp2_recommend
.
isUserInputEnabled
=
true
iv_edit
.
visibility
=
View
.
VISIBLE
iv_edit_close
.
visibility
=
View
.
GONE
tab_recommend
.
visibility
=
View
.
VISIBLE
...
...
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