Created
April 24, 2020 14:45
-
-
Save chenzhang2006/7d3ba4491daa89c084e2b32c52e41f33 to your computer and use it in GitHub Desktop.
create custom view with @jvmoverloads and specific defStyleAttr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TextInputEditTextJvmStyled @JvmOverloads constructor( | |
context: Context, | |
attrs: AttributeSet? = null, | |
defStyleAttr: Int = editTextStyle | |
) : TextInputEditText(context, attrs, defStyleAttr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment