Skip to content

Commit

Permalink
📝 更新注释
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCheen committed Sep 21, 2022
1 parent 926d641 commit ffb6f1e
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ import me.yifeiyuan.flap.delegate.AdapterDelegate
import me.yifeiyuan.flap.dsl.DslComponent

/**
* Created by 程序亦非猿 on 2022/9/21.
*/

/**
* ViewDataBinding?
* 支持 AdapterDelegate ViewBinding DSL 功能
* 支持 AdapterDelegate DataBinding DSL 功能
* Created by 程序亦非猿 on 2022/9/20.
* @since 3.1.3
* @since 3.1.4
*/
inline fun <reified T, reified D : ViewDataBinding> adapterDelegateDataBinding(
@LayoutRes layoutId: Int,
Expand All @@ -29,9 +24,9 @@ inline fun <reified T, reified D : ViewDataBinding> adapterDelegateDataBinding(
}

/**
* 支持 AdapterDelegate ViewBinding DSL 功能
* 支持 AdapterDelegate DataBinding DSL 功能
* Created by 程序亦非猿 on 2022/9/20.
* @since 3.1.3
* @since 3.1.4
*/
class DataBindingDslAdapterDelegate<T, D : ViewDataBinding>(
private var modelClass: Class<T>,
Expand Down Expand Up @@ -65,6 +60,6 @@ class DataBindingDslAdapterDelegate<T, D : ViewDataBinding>(
/**
* 支持 AdapterDelegate DataBinding DSL 功能
* Created by 程序亦非猿 on 2022/9/20.
* @since 3.1.3
* @since 3.1.4
*/
class DataBindingDslComponent<T, V : ViewDataBinding>(val binding: V) : DslComponent<T>(binding.root)

0 comments on commit ffb6f1e

Please sign in to comment.