Skip to content

Commit fa26c08

Browse files
committed
bugfix : #23 EditText is not clickable
1 parent 93f7a6f commit fa26c08

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)