Skip to content

Instantly share code, notes, and snippets.

@chenzhang2006
Last active April 24, 2020 14:42
Show Gist options
  • Save chenzhang2006/1cf1433be0d4b068292d969da80820e8 to your computer and use it in GitHub Desktop.
Save chenzhang2006/1cf1433be0d4b068292d969da80820e8 to your computer and use it in GitHub Desktop.
create custom view with @jvmoverloads and 2 arguments
class TextInputEditTextJvmOverloads2 @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null
) : TextInputEditText(context, attrs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment