Commit b2869b84 authored by maxiaoliang's avatar maxiaoliang

多多菜园1.0.3上线

parent 0a538ec2
...@@ -29,3 +29,4 @@ guesssong/*.iml ...@@ -29,3 +29,4 @@ guesssong/*.iml
happyplay/*.iml happyplay/*.iml
userinfo/*.iml userinfo/*.iml
antearn.jks antearn.jks
game/src/main/assets/bin/Data/
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="JDK" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">
......
...@@ -974,6 +974,7 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback { ...@@ -974,6 +974,7 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
).subscribe(object : BaseObserver<ExchangeEntity>() { ).subscribe(object : BaseObserver<ExchangeEntity>() {
override fun onSuccess(result: ExchangeEntity?) { override fun onSuccess(result: ExchangeEntity?) {
if (result != null) { if (result != null) {
callUnity("OrderView", "getOrderData", "")
MainDialog?.showWithDraw( MainDialog?.showWithDraw(
this@GameActivity, this@GameActivity,
result?.status ?: 0, result?.status ?: 0,
......
...@@ -23,6 +23,7 @@ import android.widget.RelativeLayout ...@@ -23,6 +23,7 @@ import android.widget.RelativeLayout
import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import com.airbnb.lottie.LottieAnimationView import com.airbnb.lottie.LottieAnimationView
import com.google.gson.annotations.Until
import com.ym.admodule.config.AdManager import com.ym.admodule.config.AdManager
import com.ym.admodule.listener.ZXADVideoListener import com.ym.admodule.listener.ZXADVideoListener
import com.ym.ddcy.R import com.ym.ddcy.R
...@@ -293,7 +294,9 @@ object PuzzleDialog : PuzzleContract.View, OnRecycleItemClickListener<PuzzleEnti ...@@ -293,7 +294,9 @@ object PuzzleDialog : PuzzleContract.View, OnRecycleItemClickListener<PuzzleEnti
mPresenter?.onecleanPuzzle() mPresenter?.onecleanPuzzle()
} }
override fun onError(errorMsg: String?) { override fun onError(errorMsg: String?) {
mPresenter?.onecleanPuzzle() // mPresenter?.onecleanPuzzle()
Log.e("MXL","ERROR")
Utils.showToast(context,"加载失败请重试")
} }
}) })
}) })
...@@ -332,7 +335,7 @@ object PuzzleDialog : PuzzleContract.View, OnRecycleItemClickListener<PuzzleEnti ...@@ -332,7 +335,7 @@ object PuzzleDialog : PuzzleContract.View, OnRecycleItemClickListener<PuzzleEnti
} }
override fun onError(errorMsg: String?) { override fun onError(errorMsg: String?) {
mPresenter?.noputPuzzleData(data.index) // mPresenter?.noputPuzzleData(data.index)
} }
}) })
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:background="@drawable/layer_splash"
android:layout_height="match_parent"> android:layout_height="match_parent">
<FrameLayout <FrameLayout
android:id="@+id/splash_container" android:id="@+id/splash_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_marginBottom="80dp"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
...@@ -24,16 +26,5 @@ ...@@ -24,16 +26,5 @@
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:visibility="gone" /> android:visibility="gone" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@color/white"
android:padding="@dimen/dp_30">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/duoduokaipingye" />
</RelativeLayout>
</RelativeLayout> </RelativeLayout>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -34,7 +34,7 @@ object AdUtils { ...@@ -34,7 +34,7 @@ object AdUtils {
override fun onAdShow() { override fun onAdShow() {
Utils.showToast(activity, "看完视频可获得奖励") Utils.showToast(activity, "看完视频可获得奖励")
// AdManager.loadNextCacheRewardVideoAd(ADConfig.AD_VIDEO, activity!!) // AdManager.loadNextCacheRewardVideoAd(ADConfig.AD_VIDEO, activity!!)
} }
override fun onAdVideoBarClick() {} override fun onAdVideoBarClick() {}
...@@ -51,6 +51,9 @@ object AdUtils { ...@@ -51,6 +51,9 @@ object AdUtils {
try { try {
view.postDelayed(object :Runnable { view.postDelayed(object :Runnable {
override fun run() { override fun run() {
if(activity?.isFinishing){
return
}
activity?.runOnUiThread() { activity?.runOnUiThread() {
AdManager.showFeedAd( AdManager.showFeedAd(
ADConfig.AD_IMG_FADE, ADConfig.AD_IMG_FADE,
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 整体的背景颜色 --> <!-- 整体的背景颜色 -->
<item android:drawable="@android:color/white" /> <item android:drawable="@android:color/white" />
<item> <item android:width="360dp" android:height="80dp" android:gravity="bottom|center_horizontal">
<!-- 中间的图片 --> <!-- 中间的图片 -->
<bitmap <bitmap
android:gravity="bottom" android:gravity="center"
android:src="@drawable/duoduokaipingye" /> android:src="@drawable/duoduokaipingye" />
</item> </item>
</layer-list> </layer-list>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment