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
7a58b068
Commit
7a58b068
authored
Oct 12, 2023
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
ad42b3de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
VipActivity.kt
...in/java/com/duben/loveplaylet/ui/activitys/VipActivity.kt
+6
-6
MyFragment.kt
...main/java/com/duben/loveplaylet/ui/fragment/MyFragment.kt
+1
-1
activity_new_vip.xml
video/app/src/main/res/layout/activity_new_vip.xml
+1
-1
No files found.
video/app/src/main/java/com/duben/loveplaylet/ui/activitys/VipActivity.kt
View file @
7a58b068
...
...
@@ -193,12 +193,12 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
if
(!
TextUtils
.
isEmpty
(
bean
.
remarks
))
{
if
(
bean
.
remarks
.
contains
(
";"
))
{
val
tempRemarks
=
bean
.
remarks
.
split
(
";"
)
tv_vip_hint
.
text
=
tempRemarks
[
1
]
}
else
{
tv_vip_hint
.
text
=
""
}
//
if (bean.remarks.contains(";")) {
//
val tempRemarks = bean.remarks.split(";")
//
tv_vip_hint.text = tempRemarks[1]
//
} else {
// }
tv_vip_hint
.
text
=
bean
.
remarks
tv_vip_hint
.
visibility
=
View
.
VISIBLE
}
else
{
tv_vip_hint
.
visibility
=
View
.
INVISIBLE
...
...
video/app/src/main/java/com/duben/loveplaylet/ui/fragment/MyFragment.kt
View file @
7a58b068
...
...
@@ -183,7 +183,7 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
tv_my_status
.
text
=
"有效期: 永久有效"
}
else
{
tv_my_status
.
text
=
"到期时间 ${TimeRender.formatDate(consumer.expireTime, TimeRender.
ALL_FORMAT_LINE
)}"
"到期时间 ${TimeRender.formatDate(consumer.expireTime, TimeRender.
DEFAULT_FORMAT
)}"
}
}
else
{
tv_my_vip
.
text
=
"开通VIP会员"
...
...
video/app/src/main/res/layout/activity_new_vip.xml
View file @
7a58b068
...
...
@@ -258,7 +258,7 @@
android:gravity=
"center"
android:text=
"立即开通"
android:textColor=
"@color/color_2F155E"
android:textSize=
"
18
sp"
/>
android:textSize=
"
20
sp"
/>
</io.supercharge.shimmerlayout.ShimmerLayout>
</LinearLayout>
...
...
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