Permalink
Browse files

Fixed issue with last element

git-svn-id: http://android-wheel.googlecode.com/svn/trunk@4 c364614a-9a97-51b3-f556-90fca60df64e
  • Loading branch information...
1 parent f3c83c6 commit c05c068be179c296a2b17359c028cd11b7c61c52 yuri.kanivets committed Jun 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 wheel/src/kankan/wheel/widget/WheelView.java
@@ -283,7 +283,7 @@ private String buildText() {
itemsText.append("\n"); // here will be current value
- for (int i = currentItem + 1; i <= currentItem + addItems; i++) {
+ for (int i = currentItem + 1; i < currentItem + addItems; i++) {
if (adapter != null && i < adapter.getItemsCount()) {
String text = adapter.getItem(i);
if (text != null) {

0 comments on commit c05c068

Please sign in to comment.