Created
March 3, 2018 10:34
-
-
Save sebaslogen/0b6689c54ee70af84faf82a4abe3825f to your computer and use it in GitHub Desktop.
Kotlin Android CustomView without default parameters
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 MyCustomView : View { | |
constructor(context: Context) : super(context) | |
constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) | |
constructor(context: Context, attrs: AttributeSet?, attributeSetId: Int) : super(context, attrs, attributeSetId) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment