1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package com.hdl.xl.activity
- import android.os.Bundle
- import com.hdl.xl.base.MBActivity
- import com.hdl.xl.databinding.ActivityPaySuessBinding
- import com.hdl.xl.vmodel.PaySuessVModel
- /**
- * 支付成功界面
- *Created by shihuiyun
- *on 2020/9/24
- */
- class PaySuessActivity : MBActivity<PaySuessVModel, ActivityPaySuessBinding>() {
- override fun init(savedInstanceState: Bundle?) {
- super.init(savedInstanceState)
- vm.price.value=intent.extras?.getString("price","0")
- vm.orderid.value=intent.extras?.getString("orderid","0")
- vm.type.value=intent.extras?.getString("type","0")
- }
- override fun binding(): ActivityPaySuessBinding {
- return ActivityPaySuessBinding.inflate(layoutInflater)
- }
- override fun vmClass(): Class<PaySuessVModel> {
- return PaySuessVModel::class.java
- }
- override fun title(): String? {
- return "支付结果"
- }
- override val isRxbus: Boolean
- get() = true
- }
|