Skip to content

Instantly share code, notes, and snippets.

@Krishan14sharma
Created November 6, 2017 07:20
Show Gist options
  • Select an option

  • Save Krishan14sharma/99d1faedc35cb7835c197d4d7f670dda to your computer and use it in GitHub Desktop.

Select an option

Save Krishan14sharma/99d1faedc35cb7835c197d4d7f670dda to your computer and use it in GitHub Desktop.
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