Back to project page WheelView.
The source code is released under:
Apache License
If you think the Android project WheelView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.lukedeighton.wheelview.adapter; // w w w. j av a 2 s . c om import java.util.List; public abstract class WheelArrayAdapter<T> implements WheelAdapter { private List<T> mItems; public WheelArrayAdapter(List<T> items) { mItems = items; } public T getItem(int position) { return mItems.get(position); } @Override public int getCount() { return mItems.size(); } }