Commit 6b76aa4c authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent a1f29c05
...@@ -13,7 +13,7 @@ import com.duben.speedplayletu.manager.TrackManager ...@@ -13,7 +13,7 @@ import com.duben.speedplayletu.manager.TrackManager
import com.duben.speedplayletu.utils.LogUtil import com.duben.speedplayletu.utils.LogUtil
import com.duben.speedplayletu.utils.UIUtils import com.duben.speedplayletu.utils.UIUtils
import java.lang.ref.WeakReference import java.lang.ref.WeakReference
import com.duben.speedplayletu.BuildConfig
/** /**
* banner * banner
*/ */
......
...@@ -23,7 +23,7 @@ import com.duben.speedplayletu.utils.TimeRender ...@@ -23,7 +23,7 @@ import com.duben.speedplayletu.utils.TimeRender
import com.duben.speedplayletu.utils.UIUtils import com.duben.speedplayletu.utils.UIUtils
import java.lang.Exception import java.lang.Exception
import java.util.ArrayList import java.util.ArrayList
import com.duben.speedplayletu.BuildConfig
/** /**
* 信息流 * 信息流
......
...@@ -12,7 +12,7 @@ import com.duben.speedplayletu.manager.TrackManager ...@@ -12,7 +12,7 @@ import com.duben.speedplayletu.manager.TrackManager
import com.duben.speedplayletu.utils.ForegroundOrBackground import com.duben.speedplayletu.utils.ForegroundOrBackground
import com.duben.speedplayletu.utils.LogUtil import com.duben.speedplayletu.utils.LogUtil
import com.duben.speedplayletu.utils.UIUtils import com.duben.speedplayletu.utils.UIUtils
import com.duben.speedplayletu.BuildConfig
private val TAG = MainExpressManager::class.java.simpleName private val TAG = MainExpressManager::class.java.simpleName
/** /**
......
...@@ -22,7 +22,7 @@ import com.duben.speedplayletu.utils.TimeRender ...@@ -22,7 +22,7 @@ import com.duben.speedplayletu.utils.TimeRender
import com.duben.speedplayletu.utils.UIUtils import com.duben.speedplayletu.utils.UIUtils
import java.lang.Exception import java.lang.Exception
import java.util.ArrayList import java.util.ArrayList
import com.duben.speedplayletu.BuildConfig
/** /**
* 信息流 * 信息流
*/ */
......
...@@ -15,7 +15,7 @@ import com.duben.speedplayletu.utils.LogUtil ...@@ -15,7 +15,7 @@ import com.duben.speedplayletu.utils.LogUtil
import com.duben.speedplayletu.utils.UIUtils import com.duben.speedplayletu.utils.UIUtils
import java.lang.ref.WeakReference import java.lang.ref.WeakReference
import java.util.HashMap import java.util.HashMap
import com.duben.speedplayletu.BuildConfig
/** /**
* 应用内-网赚开屏 * 应用内-网赚开屏
*/ */
......
...@@ -791,12 +791,9 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, ...@@ -791,12 +791,9 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
e.printStackTrace() e.printStackTrace()
} }
} }
*/
/**
* 跳转支付宝小程序
private fun openWxApp() { private fun openWxApp() {
// AppConfig.enterAlipay = true // AppConfig.enterAlipay = true
try { try {
val appId = "wx263e5304a9a67d7c" // 填移动应用(App)的 AppId,非小程序的 AppID val appId = "wx263e5304a9a67d7c" // 填移动应用(App)的 AppId,非小程序的 AppID
val api: IWXAPI = WXAPIFactory.createWXAPI(context, appId) val api: IWXAPI = WXAPIFactory.createWXAPI(context, appId)
......
...@@ -119,7 +119,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR ...@@ -119,7 +119,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
// if (!UserManager.getInstance().vipFlag) { // if (!UserManager.getInstance().vipFlag) {
// BannerManager.loadAd(requireActivity(), fl_main_banner) // BannerManager.loadAd(requireActivity(), fl_main_banner)
// } // }
// BannerManager.loadAd(requireActivity(), fl_main_banner) BannerManager.loadAd(requireActivity(), fl_main_banner)
if (AppConfig.exitLoginMainRefresh) { if (AppConfig.exitLoginMainRefresh) {
AppConfig.exitLoginMainRefresh = false AppConfig.exitLoginMainRefresh = false
......
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