Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setSelectedItemPosition doesn't work properly in version 1.1.3 (works well in version 1.1.2) #156

Open
tarelendil opened this issue Feb 10, 2020 · 2 comments

Comments

@tarelendil
Copy link

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
Copy link

wkable commented Apr 8, 2020

This may be useful:

        mAmPm.setData(amPmList);
        mAmPm.post(new Runnable() {
            @Override
            public void run() {
                mAmPm.setSelectedItemPosition(afterNoon ? 1 : 0);
            }
        });

@favstiger
Copy link

use setSelectedItemPosition(position, false);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants