31 lines
651 B
Kotlin
31 lines
651 B
Kotlin
|
|
package com.gamedog.vididin.widget
|
||
|
|
|
||
|
|
|
||
|
|
import android.content.Context
|
||
|
|
import android.util.AttributeSet
|
||
|
|
import android.view.LayoutInflater
|
||
|
|
import android.widget.LinearLayout
|
||
|
|
import com.gamedog.vididin.databinding.LayoutDragIconViewBinding
|
||
|
|
import kotlin.run
|
||
|
|
|
||
|
|
class HomeDragIconView @JvmOverloads constructor(
|
||
|
|
context: Context,
|
||
|
|
attrs: AttributeSet? = null,
|
||
|
|
defStyleAttr: Int = 0
|
||
|
|
) : LinearLayout(context, attrs, defStyleAttr) {
|
||
|
|
|
||
|
|
private var mBinding: LayoutDragIconViewBinding? = null
|
||
|
|
|
||
|
|
|
||
|
|
init {
|
||
|
|
mBinding = LayoutDragIconViewBinding.inflate(LayoutInflater.from(context), this, true)
|
||
|
|
mBinding?.run {
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|