27 lines
741 B
Kotlin
27 lines
741 B
Kotlin
|
|
package com.example.calrendarview
|
||
|
|
|
||
|
|
import android.content.Context
|
||
|
|
import android.util.AttributeSet
|
||
|
|
import android.view.View
|
||
|
|
|
||
|
|
class BaseCustomViews : View {
|
||
|
|
constructor(context: Context?) : super(context){appyAttrs(null)}
|
||
|
|
constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs){appyAttrs(attrs)}
|
||
|
|
constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : super(
|
||
|
|
context,
|
||
|
|
attrs,
|
||
|
|
defStyleAttr
|
||
|
|
){appyAttrs(attrs)}
|
||
|
|
|
||
|
|
constructor(
|
||
|
|
context: Context?,
|
||
|
|
attrs: AttributeSet?,
|
||
|
|
defStyleAttr: Int,
|
||
|
|
defStyleRes: Int
|
||
|
|
) : super(context, attrs, defStyleAttr, defStyleRes) {appyAttrs(attrs)}
|
||
|
|
|
||
|
|
|
||
|
|
fun appyAttrs(attrs: AttributeSet?) {
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|