AigeStudio / WheelPicker

Simple and fantastic wheel view in realistic effect for android.
Apache License 2.0
2.56k stars 510 forks source link

"wheel_visible_item_count" have no effect (showing 3 always) #124

Open verybluebot opened 6 years ago

verybluebot commented 6 years ago

all is working fine, but I dont have control on visible item count not from xml using "wheel_visible_item_count" and not from Java code using method "wheelPicker.setItemSpace(4);"

xml:

        <com.aigestudio.wheelpicker.WheelPicker
            android:id="@+id/wheelPicker"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:wheel_visible_item_count="4"/>

Java:

        WheelPicker wheelPicker = (WheelPicker) findViewById(R.id.wheelPicker);
        wheelPicker.setVisibleItemCount(4);
        wheelPicker.setAtmospheric(true);
        wheelPicker.setData(testList);
toothwind commented 6 years ago

` /**