Skip to content

Commit e874cd1

Browse files
Merge pull request #27 from SimformSolutionsPvtLtd/bugfix/add_clicklistener_method
bugfix : #23 EditText is not clickable LGTM.
2 parents 93f7a6f + fa26c08 commit e874cd1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

customedittextoutlinedborder/src/main/java/com/simform/customcomponent/SSCustomEdittextOutlinedBorder.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ class SSCustomEdittextOutlinedBorder @JvmOverloads constructor(context: Context,
122122
}
123123
}
124124

125+
fun getClickListener(onclick: () -> Unit) {
126+
editText.setOnClickListener {
127+
onclick.invoke()
128+
}
129+
}
130+
125131
private fun setTitleColor(@ColorInt colorID: Int) {
126132
lableTitle.setTextColor(colorID)
127133
}

0 commit comments

Comments
 (0)