setSelectedItemPosition doesn't work properly in version 1.1.3 (works well in version 1.1.2)
Opened this issue · 2 comments
tarelendil commented
Selected Item many times doesn't change, looks like the setSelectedItemPosition function was changed and it has a bug, the selected item or current item is not updated, in version 1.1.2 it always worked and still works.
Thank you very much
wkable commented
This may be useful:
mAmPm.setData(amPmList);
mAmPm.post(new Runnable() {
@Override
public void run() {
mAmPm.setSelectedItemPosition(afterNoon ? 1 : 0);
}
});
favstiger commented
use setSelectedItemPosition(position, false);