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

NumberPicker dialog: dialog.onValueAvailable(val, pos) not selecting item #5

Open
spartacus777 opened this issue Sep 11, 2018 · 0 comments

Comments

@spartacus777
Copy link

spartacus777 commented Sep 11, 2018

NumberPickerDialog dialog = new NumberPickerDialog(activity, 140, 220, new NumberPickerDialog.NumberPickerCallBack() {
            @Override
            public void onSelectingValue(int value) {
            }
        });

 dialog.show();
        dialog.onValueAvailable(val, pos);

does move layout manager of dialog to proper position, but does not get adapter select current item.
You forget to call notifyDataSetChanged on dialog's adapter, please implement it, and release new lib version, Your lib is cool!

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

1 participant