type

abstract var type: (T) -> Int

通过当前item获取view type,和typePosition功能相同,但会相互覆盖.