类 WheelRecycle
- java.lang.Object
-
- com.jzxiang.pickerview.wheel.WheelRecycle
-
public class WheelRecycle extends Object
Recycle stores wheel items to reuse.
-
-
构造器概要
构造器 构造器 说明 WheelRecycle(WheelView wheel)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclearAll()Clears all viewsViewgetEmptyItem()Gets empty item viewViewgetItem()Gets item viewintrecycleItems(LinearLayout layout, int firstItem, ItemsRange range, int currentItem)
-
-
-
构造器详细资料
-
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
-
-