Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
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
王雪伟
LuckyFarm
Commits
401b8dbc
Commit
401b8dbc
authored
Oct 22, 2020
by
wangxuewei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_cache' into develop_cache
parents
56b9f9ed
ee770918
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
SiginDropsPopupwindow.kt
app/src/main/java/com/ym/game/view/SiginDropsPopupwindow.kt
+2
-4
TurntableDialog.kt
app/src/main/java/com/ym/game/view/TurntableDialog.kt
+1
-1
No files found.
app/src/main/java/com/ym/game/view/SiginDropsPopupwindow.kt
View file @
401b8dbc
...
@@ -59,7 +59,6 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
...
@@ -59,7 +59,6 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
fun
init
(
mContext
:
Context
?,
mListener
:
IDialogViewCloseCallback
)
{
fun
init
(
mContext
:
Context
?,
mListener
:
IDialogViewCloseCallback
)
{
this
.
mListener
=
mListener
this
.
mListener
=
mListener
this
.
mContext
=
mContext
this
.
mContext
=
mContext
RxBusUtil
.
getDefault
().
register
(
this
)
// ToponManager.initNativeAd((mContext as Activity), AdID.AD_DAILY_DRIP_BIGIMAGE)
// ToponManager.initNativeAd((mContext as Activity), AdID.AD_DAILY_DRIP_BIGIMAGE)
// ToponManager.initNativeAd((mContext as Activity), AdID.AD_LUCKY_DAILY_WATER_VIDEO)
// ToponManager.initNativeAd((mContext as Activity), AdID.AD_LUCKY_DAILY_WATER_VIDEO)
// ToponManager.initRewardAd((mContext as Activity), AdID.AD_LUCKY_WATER_HIGH_VIDEO)
// ToponManager.initRewardAd((mContext as Activity), AdID.AD_LUCKY_WATER_HIGH_VIDEO)
...
@@ -98,8 +97,7 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
...
@@ -98,8 +97,7 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
}
}
@SuppressLint
()
@Subscribe
(
code
=
RxBusConstant
.
RX_MAIN_WATER_DROP_UPDATE
,
threadMode
=
ThreadMode
.
MAIN
)
fun
updateList
()
{
fun
updateList
()
{
mPresenter
?.
getRrchardDailyTask
()
mPresenter
?.
getRrchardDailyTask
()
}
}
...
@@ -221,7 +219,6 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
...
@@ -221,7 +219,6 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
override
fun
onAdClose
()
{
override
fun
onAdClose
()
{
getVideoAcceleratorsReceive2
();
getVideoAcceleratorsReceive2
();
mPresenter
?.
getRrchardDailyTask
()
}
}
override
fun
onVideoComplete
()
{
override
fun
onVideoComplete
()
{
...
@@ -320,6 +317,7 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
...
@@ -320,6 +317,7 @@ class SiginDropsPopupwindow : PopupWindow(), WateringRewardContract.View,
.
subscribe
(
object
:
BaseObserver
<
StatusEntity
>()
{
.
subscribe
(
object
:
BaseObserver
<
StatusEntity
>()
{
override
fun
onSuccess
(
result
:
StatusEntity
?)
{
override
fun
onSuccess
(
result
:
StatusEntity
?)
{
Log
.
d
(
"wxw"
,
"看视频上报 Success"
)
Log
.
d
(
"wxw"
,
"看视频上报 Success"
)
mPresenter
?.
getRrchardDailyTask
()
}
}
override
fun
onFailure
(
e
:
Throwable
?,
code
:
String
?,
errorMsg
:
String
?)
{
override
fun
onFailure
(
e
:
Throwable
?,
code
:
String
?,
errorMsg
:
String
?)
{
...
...
app/src/main/java/com/ym/game/view/TurntableDialog.kt
View file @
401b8dbc
...
@@ -248,7 +248,6 @@ object TurntableDialog : TurntableUtils(), TurntableContract.View {
...
@@ -248,7 +248,6 @@ object TurntableDialog : TurntableUtils(), TurntableContract.View {
btnTurntableLottery
?.
isEnabled
=
false
btnTurntableLottery
?.
isEnabled
=
false
isStartAnim
=
true
isStartAnim
=
true
isUpdate
=
true
isUpdate
=
true
mPresenter
?.
getTurntableLotteryResult
()
}
}
override
fun
onVideoComplete
()
{
override
fun
onVideoComplete
()
{
...
@@ -431,6 +430,7 @@ object TurntableDialog : TurntableUtils(), TurntableContract.View {
...
@@ -431,6 +430,7 @@ object TurntableDialog : TurntableUtils(), TurntableContract.View {
.
subscribe
(
object
:
BaseObserver
<
StatusEntity
>()
{
.
subscribe
(
object
:
BaseObserver
<
StatusEntity
>()
{
override
fun
onSuccess
(
result
:
StatusEntity
?)
{
override
fun
onSuccess
(
result
:
StatusEntity
?)
{
Log
.
d
(
"wxw"
,
"看视频上报 Success"
)
Log
.
d
(
"wxw"
,
"看视频上报 Success"
)
mPresenter
?.
getTurntableLotteryResult
()
}
}
override
fun
onFailure
(
e
:
Throwable
?,
code
:
String
?,
errorMsg
:
String
?)
{
override
fun
onFailure
(
e
:
Throwable
?,
code
:
String
?,
errorMsg
:
String
?)
{
...
...
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