Package com.drake.engine.widget

Types

FilterCheckBox
Link copied to clipboard
class FilterCheckBox : AppCompatCheckBox
FilterSeekBar
Link copied to clipboard
class FilterSeekBar : AppCompatSeekBar
通过过滤器可以判断是否支持手势划动
FixedViewPager
Link copied to clipboard
class FixedViewPager(context: Context, attrs: AttributeSet?) : ViewPager
解决 IllegalArgumentException: pointerIndex out of range
FloatMenu
Link copied to clipboard
class FloatMenu<T>(context: Context, anchor: View?) : PopupWindow
在按下位置附近弹出菜单, 弥补PopupMenu不足在此项目基础上修改 https://github.
IndexSideBar
Link copied to clipboard
open class IndexSideBar : View
InspectRadioButton
Link copied to clipboard
class InspectRadioButton(context: Context, attrs: AttributeSet?) : AppCompatRadioButton
可以在RadioButton点击后判断是否拦截, 如果拦截则不会产生切换效果
MarqueeTextView
Link copied to clipboard
class MarqueeTextView @JvmOverloads() constructor(context: Context, attrs: AttributeSet?) : AppCompatTextView
跑马灯效果
NestedRadioGroup
Link copied to clipboard
open class NestedRadioGroup : RadioGroup
可以多行布局的RadioGroup,但是会用掉子RadioButton的OnCheckedChangeListener A RadioGroup allow multiple rows layout, will use the RadioButton's OnCheckedChangeListener
NestedScrollableHost
Link copied to clipboard
class NestedScrollableHost : FrameLayout
Layout to wrap a scrollable component inside a ViewPager2.
NestedWebView
Link copied to clipboard
class NestedWebView @JvmOverloads() constructor(context: Context, attrs: AttributeSet?) : WebView
支持被ScrollView嵌套的WebView
SmoothCheckBox
Link copied to clipboard
open class SmoothCheckBox : View, Checkable
ViewPagerForMaxHeight
Link copied to clipboard
open class ViewPagerForMaxHeight : ViewPager
使用最高页面height的ViewPager
WaveView
Link copied to clipboard
open class WaveView : View
支持水波纹动画视图 且可以添加视图跟随水波纹的变化

Functions

setCheckedBind
Link copied to clipboard
fun SmoothCheckBox.setCheckedBind(checked: Any?)
fun SmoothCheckBox.setCheckedBind(checked: Boolean)