typePosition

abstract var typePosition: (T, position: Int) -> Int

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