Android Lollipop Calendar listener not called.

Android lollipop date picker issue
Android lollipop date picker issue

Hi Guys,

This is my yet another post. Recently in one of my projects I faced an issue specific to Android 5.0 lollipop. The Date Picker View, OnDateChangedListener was never getting called.

While selecting the date, the change was being reflected on the view, but no call to the listener was made, and some other folks also faced the same issue. Check this stackoverflow question.


As a workaround, I just checked the current values of picker after every interval.

public void onAttachedToWindow(){

You can use my class directly from here.

Have a nice day.

Leave a Reply