Skip to content

Commit

Permalink
Update Payview.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanDavid1996 authored Apr 22, 2021
1 parent fc13162 commit f18e84a
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 f18e84a

Please sign in to comment.