Back to project page Caldroid.
The source code is released under:
MIT License
If you think the Android project Caldroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.roomorama.caldroid; /*from w w w.j a v a 2s . com*/ import java.util.Date; import android.view.View; /** * CaldroidListener inform when user clicks on a valid date (not within disabled * dates, and valid between min/max dates) * <p/> * The method onChangeMonth is optional, user can always override this to listen * to month change event * * @author thomasdao */ public abstract class CaldroidListener { /** * Inform client user has clicked on a date * * @param date * @param view */ public abstract void onSelectDate(Date date, View view); /** * Inform client user has long clicked on a date * * @param date * @param view */ public void onLongClickDate(Date date, View view) { // Do nothing } /** * Inform client that calendar has changed month * * @param month * @param year */ public void onChangeMonth(int month, int year) { // Do nothing } ; /** * Inform client that CaldroidFragment view has been created and views are * no longer null. Useful for customization of button and text views */ public void onCaldroidViewCreated() { // Do nothing } }