Skip to content

Commit

Permalink
Merge pull request #8 from JuanDavid1996/patch-1
Browse files Browse the repository at this point in the history
Update Payview.kt
  • Loading branch information
fevziomurtekin authored Mar 4, 2024
2 parents cb45393 + f18e84a commit 672e3c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion payview/src/main/java/com/fevziomurtekin/payview/Payview.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -540,4 +544,4 @@ class Payview : NestedScrollView, View.OnFocusChangeListener {
}
}

}
}

0 comments on commit 672e3c5

Please sign in to comment.