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
5244e8be
Commit
5244e8be
authored
Oct 11, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c0a9a114
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
LoanService.java
.../src/main/java/com/duben/xixiplaylet/net/LoanService.java
+1
-1
AboutusActivity.kt
...ava/com/duben/xixiplaylet/ui/activitys/AboutusActivity.kt
+1
-1
MainFragment.kt
...in/java/com/duben/xixiplaylet/ui/fragment/MainFragment.kt
+9
-4
No files found.
video/app/src/main/java/com/duben/xixiplaylet/net/LoanService.java
View file @
5244e8be
...
...
@@ -313,7 +313,7 @@ public interface LoanService {
/**
* 是否展示礼物
*/
@POST
(
"api/vedio/showTurn"
)
@POST
(
"api/vedio/showTurn
123
"
)
Observable
<
BaseResponse
<
JsonObject
>>
getGift
();
/**
...
...
video/app/src/main/java/com/duben/xixiplaylet/ui/activitys/AboutusActivity.kt
View file @
5244e8be
...
...
@@ -62,7 +62,7 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
// object : TTMediationTestTool.ImageCallBack {
// override fun loadImage(imageView: ImageView?, s: String?) {}
// })
readyGo
(
GiftActivity
::
class
.
java
)
//
readyGo(GiftActivity::class.java)
// VoiceRedEnvelopeManager.load(23,23)
true
}
...
...
video/app/src/main/java/com/duben/xixiplaylet/ui/fragment/MainFragment.kt
View file @
5244e8be
...
...
@@ -138,7 +138,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
}
else
{
homePresenter
.
topTabs
()
homePresenter
.
orders
()
homePresenter
.
getGift
()
//
homePresenter.getGift()
TrackManager
.
getInstance
().
getMyInfo
()
showRecommendAct
(
recommendVedioBean
)
}
...
...
@@ -354,10 +354,15 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
this
.
recommendVedioBean
=
data
}
override
fun
giftSuc
(
flag
:
Boolean
)
{
if
(
flag
&&
!
isShowGiftAct
)
{
override
fun
giftSuc
(
showGift
flag
:
Boolean
)
{
if
(
showGift
flag
&&
!
isShowGiftAct
)
{
isShowGiftAct
=
true
readyGo
(
GiftActivity
::
class
.
java
)
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(
requireActivity
().
isFinishing
)
return
@postDelayed
readyGo
(
GiftActivity
::
class
.
java
)
},
500
)
}
}
...
...
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