type

fun type(predicate: (T, position: Int) -> Int): SmartAdapter<T>

设置 view type 获取方法.

See also

com.ayvytr.adapter.SmartAdapter