Commit 495a2aa3 authored by 小费同学阿's avatar 小费同学阿 💬 Committed by 杨秀秀

68389 【商户app-android】扫描消费者二维码后,选择支付类型弹框中点击【取消】按钮没有反应

parent 132497ab
...@@ -31,12 +31,17 @@ class PaylTypeListDialog(context: Context, val list:List<TextListProvider>): xxB ...@@ -31,12 +31,17 @@ class PaylTypeListDialog(context: Context, val list:List<TextListProvider>): xxB
} }
/*确定按钮*/
fun typeClickDialog(view: View) { fun typeClickDialog(view: View) {
if (DialogClickListener != null) { if (DialogClickListener != null) {
DialogClickListener.dialogClickBack(view.id, adpter.getBuuthBusinessId()) DialogClickListener.dialogClickBack(view.id, adpter.getBuuthBusinessId())
} }
dismiss() dismiss()
} }
/*取消按钮关闭弹窗*/
fun typeCloseDialog(view: View) {
dismiss()
}
} }
\ No newline at end of file
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
android:textColor="@color/foreground" android:textColor="@color/foreground"
android:onClick="@{dialog.typeCloseDialog}"
android:id="@+id/btn_bdl_cancel"/> android:id="@+id/btn_bdl_cancel"/>
<Button <Button
......
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