-
public final class _FxExt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> <ERROR CLASS>createFx(Function1<FxScopeHelper.Builder, T> obj)创建一个fx,自行初始化并控制插入位置val builder by createFx {setLayout(R.layout.item_floating) setEnableScrollOutsideScreen(false) setAnimationImpl(FxAnimationImpl()) build().toControl(). -
-
Method Detail
-
createFx
final static <T extends Any> <ERROR CLASS> createFx(Function1<FxScopeHelper.Builder, T> obj)
创建一个fx,自行初始化并控制插入位置
val builder by createFx {
setLayout(R.layout.item_floating) setEnableScrollOutsideScreen(false) setAnimationImpl(FxAnimationImpl()) build().toControl().init(this@MainActivity)
}
-
-
-
-