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
a90c99e0
Commit
a90c99e0
authored
Nov 21, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
97d27c3a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
MyFragment.kt
...src/main/java/com/duben/heliapp/ui/fragment/MyFragment.kt
+5
-4
fragment_main_my.xml
video/app/src/main/res/layout/fragment_main_my.xml
+2
-2
ic_my_point.png
video/app/src/main/res/mipmap-xhdpi/ic_my_point.png
+0
-0
No files found.
video/app/src/main/java/com/duben/heliapp/ui/fragment/MyFragment.kt
View file @
a90c99e0
...
...
@@ -124,10 +124,8 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
tv_my_btn
->
{
if
(!
userManager
.
vipFlag
)
{
vipDialog
()
}
R
.
id
.
tv_my_btn
,
R
.
id
.
tv_my_dot_btn
->
{
vipDialog
()
}
R
.
id
.
ll_my_setting
->
{
readyGo
(
SettingsActivity
::
class
.
java
)
...
...
@@ -171,6 +169,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
}
private
fun
loginStatus
(
consumer
:
UserBean
)
{
tv_my_dot_balance
.
text
=
consumer
.
point
.
toString
()
// 1-匹配用户
if
(
consumer
.
activiteFlag
==
1
)
{
// 匹配
...
...
@@ -228,6 +227,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
ll_contactus
.
setOnClickListener
(
this
)
btn_action
.
setOnClickListener
(
this
)
rl_lucky
.
setOnClickListener
(
this
)
tv_my_dot_btn
.
setOnClickListener
(
this
)
}
...
...
@@ -419,6 +419,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
}).
show
()
}
}
//----9宫格逻辑--结束--//
private
fun
showAd
()
{
MyExpressManager
.
instance
.
getAdView
(
object
:
ExpressAdCallback
{
...
...
video/app/src/main/res/layout/fragment_main_my.xml
View file @
a90c99e0
...
...
@@ -136,7 +136,7 @@
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"10dp"
android:background=
"@mipmap/
bg_my_vip
"
android:background=
"@mipmap/
ic_my_point
"
android:orientation=
"vertical"
android:paddingStart=
"24dp"
android:paddingEnd=
"24dp"
...
...
@@ -171,7 +171,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"10dp"
android:text=
"
1000
0"
android:text=
"0"
android:textColor=
"#5B1500"
app:layout_constraintBottom_toTopOf=
"@id/tv_my_dot_btn"
app:layout_constraintEnd_toEndOf=
"@id/tv_my_dot_btn"
...
...
video/app/src/main/res/mipmap-xhdpi/ic_my_point.png
0 → 100644
View file @
a90c99e0
90.5 KB
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