forked from prolificinteractive/material-calendarview
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01c1c79
commit 95461fe
Showing
5 changed files
with
83 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...y/src/main/java/com/prolificinteractive/materialcalendarview/OnDateLongClickListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.prolificinteractive.materialcalendarview; | ||
|
||
import android.support.annotation.NonNull; | ||
|
||
/** | ||
* The callback used to indicate a date has been long clicked. | ||
*/ | ||
public interface OnDateLongClickListener { | ||
|
||
/** | ||
* Called when a user long clicks on a day. | ||
* There is no logic to prevent multiple calls for the same date and state. | ||
* | ||
* @param widget the view associated with this listener | ||
* @param date the date that was long clicked. | ||
*/ | ||
void onDateLongClick(@NonNull MaterialCalendarView widget, @NonNull CalendarDay date); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters