Created
April 24, 2020 14:33
-
-
Save chenzhang2006/a22ba24e35de93add65b025b2c9b2a15 to your computer and use it in GitHub Desktop.
create custom view with @jvmoverloads and 3 arguments
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 CustomTextInput @JvmOverloads constructor( | |
context: Context, | |
attrs: AttributeSet? = null, | |
defStyleAttr: Int = 0 | |
) : TextInputEditText(context, attrs, defStyleAttr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment