another option is to use the `@JvmOverloads` and t...
# android
m
another option is to use the
@JvmOverloads
and take advantage of defaults parameters
class Pipe @JvmOverloads constructor(context: Context, attrs; AttributeSet? = null, defStyleAttr: Int? = 0) : View(context, attrs, defStyleAttr)