Why no DatePicker.setDateChangedListener() method

Posted by OceanBlue on Stack Overflow See other posts from Stack Overflow or by OceanBlue
Published on 2010-04-15T14:50:14Z Indexed on 2010/04/15 14:53 UTC
Read the original article Hit count: 330

Filed under:
|

Since most widgets have a standard method of setting a listener, setOnXXXListener(), just wondering why there is no setDateChangedListener() method for DatePicker?

I know init(int, int, int, OnDateChangedListener) can be used for the same purpose, but surely there must be some reason why Google decided not to use the standard method here. I went through the API docs and couldn't find the reason.

Would one of the gurus here know the answer to this?

© Stack Overflow or respective owner

Related posts about android

Related posts about datepicker