类 WheelRecycle


  • public class WheelRecycle
    extends Object
    Recycle stores wheel items to reuse.
    • 构造器详细资料

      • WheelRecycle

        public WheelRecycle​(WheelView wheel)
    • 方法详细资料

      • recycleItems

        public int recycleItems​(LinearLayout layout,
                                int firstItem,
                                ItemsRange range,
                                int currentItem)
      • getItem

        public View getItem()
        Gets item view
        返回:
        the cached view
      • getEmptyItem

        public View getEmptyItem()
        Gets empty item view
        返回:
        the cached empty view
      • clearAll

        public void clearAll()
        Clears all views