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

date click event #22

Open
xmy1231 opened this issue Nov 14, 2017 · 4 comments
Open

date click event #22

xmy1231 opened this issue Nov 14, 2017 · 4 comments

Comments

@xmy1231
Copy link

xmy1231 commented Nov 14, 2017

Hi, I have a problem that is not so clear that click events can't get the full date.

@ThadeusAjayi
Copy link

ThadeusAjayi commented Nov 21, 2017

@Jacky-xu I was stuck to so I tried this:

                 calendarView.setSelectionManager(new BaseSelectionManager() {
                    @Override
                    public void toggleDay(@NonNull Day day) {
                        Toast.makeText(getContext(), day.toString(), Toast.LENGTH_SHORT).show();
                    }

                    @Override
                    public boolean isDaySelected(@NonNull Day day) {
                        return false;
                    }

                    @Override
                    public void clearSelections() {

                    }
                });

and it helps. If it helps you too, let me know.

@xmy1231
Copy link
Author

xmy1231 commented Nov 23, 2017

@ThadeusAjayi thanks, i try to do it. thanks for your help.

@shubhexioms
Copy link

Date select animation is not reflecting after implementing above method..

@sourav-android
Copy link

It is still not reflecting, is there any solution to this ?

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

4 participants