Created
November 6, 2017 07:20
-
-
Save Krishan14sharma/99d1faedc35cb7835c197d4d7f670dda to your computer and use it in GitHub Desktop.
This file contains hidden or 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 CustomView : View { | |
| constructor(context: Context?) : super(context) | |
| constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs) | |
| constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) | |
| constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : super(context, attrs, defStyleAttr, defStyleRes) | |
| override fun onDraw(canvas: Canvas) { | |
| super.onDraw(canvas) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment