Skip to content

Instantly share code, notes, and snippets.

@Ash-Kay
Last active May 11, 2020 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ash-Kay/d79adbbdc46a469e689f2552e7a200f6 to your computer and use it in GitHub Desktop.
Save Ash-Kay/d79adbbdc46a469e689f2552e7a200f6 to your computer and use it in GitHub Desktop.
public class CircleView @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : View(context, attrs, defStyleAttr) {
override fun onDraw(canvas: Canvas?) {
//Draw things here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment