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 +}