From f18e84aa8fb314bd48beb719d3c5b0ca1d0c9cff Mon Sep 17 00:00:00 2001 From: Juan Zubiria Date: Thu, 22 Apr 2021 11:29:09 -0500 Subject: [PATCH] Update Payview.kt --- payview/src/main/java/com/fevziomurtekin/payview/Payview.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/payview/src/main/java/com/fevziomurtekin/payview/Payview.kt b/payview/src/main/java/com/fevziomurtekin/payview/Payview.kt index 0efbc84..e7ae901 100644 --- a/payview/src/main/java/com/fevziomurtekin/payview/Payview.kt +++ b/payview/src/main/java/com/fevziomurtekin/payview/Payview.kt @@ -156,6 +156,10 @@ class Payview : NestedScrollView, View.OnFocusChangeListener { fun setPayOnclickListener(onClickListener: OnClickListener){ btn_pay.setOnClickListener(onClickListener) } + + fun setPayText(text: String) { + btn_pay.text = text + } /** * attributes init to components. @@ -540,4 +544,4 @@ class Payview : NestedScrollView, View.OnFocusChangeListener { } } -} \ No newline at end of file +}