PaySuessActivity.kt 976 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.hdl.xl.activity
  2. import android.os.Bundle
  3. import com.hdl.xl.base.MBActivity
  4. import com.hdl.xl.databinding.ActivityPaySuessBinding
  5. import com.hdl.xl.vmodel.PaySuessVModel
  6. /**
  7. * 支付成功界面
  8. *Created by shihuiyun
  9. *on 2020/9/24
  10. */
  11. class PaySuessActivity : MBActivity<PaySuessVModel, ActivityPaySuessBinding>() {
  12. override fun init(savedInstanceState: Bundle?) {
  13. super.init(savedInstanceState)
  14. vm.price.value=intent.extras?.getString("price","0")
  15. vm.orderid.value=intent.extras?.getString("orderid","0")
  16. vm.type.value=intent.extras?.getString("type","0")
  17. }
  18. override fun binding(): ActivityPaySuessBinding {
  19. return ActivityPaySuessBinding.inflate(layoutInflater)
  20. }
  21. override fun vmClass(): Class<PaySuessVModel> {
  22. return PaySuessVModel::class.java
  23. }
  24. override fun title(): String? {
  25. return "支付结果"
  26. }
  27. override val isRxbus: Boolean
  28. get() = true
  29. }