android... to set some defaults in a custom view, ...
# announcements
i
android... to set some defaults in a custom view, without having to override the 3 normally needed constructors
Copy code
class CustomView @JvmOverloads constructor(
    context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : View(context, attrs, defStyleAttr) {
}