Commit 71342ecd authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 89957393
......@@ -9,6 +9,7 @@ import android.os.Handler
import android.os.Looper
import android.text.TextUtils
import android.util.DisplayMetrics
import android.view.KeyEvent
import android.view.View
import android.view.WindowManager
import android.widget.CompoundButton
......@@ -458,7 +459,9 @@ class VipForDialogActivity : BaseActivity(), VipView, View.OnClickListener,
}
}
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
return true
}
fun wxPay(wxParanBean: WxPayParamBean, payToModel: Int) {
if (payToModel == 1) {
// 纯签约
......
......@@ -152,7 +152,7 @@ class VipDialogAdapter(val vipList: MutableList<VipBean.ListBean>) :
// )
// )
holder.iv_vip_dialog_finger.visibility=View.VISIBLE
GlideUtils.loadRoundImageViewGif(context,"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_loading.gif",holder.iv_vip_dialog_finger)
GlideUtils.loadImageViewGifUrl(context,holder.iv_vip_dialog_finger,"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_loading.gif")
} else {
holder.iv_vip_dialog_finger.visibility=View.GONE
holder.rlVipItemRoot.setBackgroundResource(R.drawable.shape_vip_adapter_none)
......
......@@ -65,8 +65,8 @@
android:id="@+id/iv_vip_dialog_finger"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
android:layout_gravity="right|bottom"
android:layout_margin="20dp"
android:src="@mipmap/ic_launcher_main"></ImageView>
</FrameLayout>
......
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