Package 

Class _FxExt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Lazy<T> createFx(Function1<FxScopeHelper.Builder, T> obj) 创建一个fx,自行初始化并控制插入位置val builder by createFx {setLayout(R.layout.item_floating) setEnableScrollOutsideScreen(false) setAnimationImpl(FxAnimationImpl()) build().toControl().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createFx

         final static <T extends Any> Lazy<T> 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)

        }