[Kotiln] 유저가 View 만드는 코드


[Kotiln] 유저가 View 만드는 코드

View 만드는 코드 Kotiln code open class InfoView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout(context, attrs, defStyleAttr){ init { View.inflate(context, R.layout.view_info, this) } } info_view.xml code AlarmInfoView.kt class AlarmInfoView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) :..


원문링크 : [Kotiln] 유저가 View 만드는 코드