lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.lzf.easyfloat.widget
 
import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import android.widget.RelativeLayout
import com.lzf.easyfloat.interfaces.OnTouchRangeListener
 
/**
 * @author: liuzhenfeng
 * @date: 2020/10/25  11:08
 * @Package: com.lzf.easyfloat.widget
 * @Description:
 */
abstract class BaseSwitchView @JvmOverloads constructor(
    context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : RelativeLayout(context, attrs, defStyleAttr) {
 
    abstract fun setTouchRangeListener(event: MotionEvent, listener: OnTouchRangeListener? = null)
 
}