Commit fc1acc15 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 7730b589
...@@ -71,7 +71,7 @@ class WifiAdManager private constructor() { ...@@ -71,7 +71,7 @@ class WifiAdManager private constructor() {
} }
val interstitialWeight = CsjGroMoreManager.APP_NEW_INTERSTITIAL_WEIGHT val interstitialWeight = CsjGroMoreManager.APP_NEW_INTERSTITIAL_WEIGHT
if (interstitialWeight > 0) { if (interstitialWeight > 0) {
weightList!!.add(WeightBean(interstitialWeight, Constant.GROMORE_NEW_INSERTSCREEN_AD)) weightList!!.add(WeightBean(interstitialWeight, Constant.GROMORE_INSERTSCREEN_AD))
weight = weight + interstitialWeight weight = weight + interstitialWeight
} }
if (weightList != null && weightList!!.size > 0 && weight > 0) { if (weightList != null && weightList!!.size > 0 && weight > 0) {
......
...@@ -35,6 +35,8 @@ class AboutusActivity : BaseActivity(), View.OnClickListener { ...@@ -35,6 +35,8 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
iv_left_icon.visibility = View.VISIBLE iv_left_icon.visibility = View.VISIBLE
iv_left_icon.setImageResource(R.mipmap.ic_arrow_back) iv_left_icon.setImageResource(R.mipmap.ic_arrow_back)
showLoading("加载中...")
ivAboutasIcon.setOnLongClickListener { ivAboutasIcon.setOnLongClickListener {
ToastUtil.showLong( ToastUtil.showLong(
MintsApplication.getContext(), "自有渠道:" + CommonUtils.getAppMetaData( MintsApplication.getContext(), "自有渠道:" + CommonUtils.getAppMetaData(
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="8.0dip" android:layout_marginBottom="8.0dip"
android:layout_marginTop="4.0dip"> android:layout_marginTop="2.0dip">
<TextView <TextView
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="加载中..." android:text="加载中..."
android:textColor="#1ba0fc" android:textColor="@color/white"
android:textSize="14sp" /> android:textSize="14sp" />
</LinearLayout> </LinearLayout>
......
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