You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to find any function which can help me manually trigger expand or collapse view. I looked at the source code. I believe Resize manager is the main class which handles expand or collapse functionality. And it take touch events to trigger the function. Can you by pass the touch function to achieve this functionality.
The text was updated successfully, but these errors were encountered:
This was my attempt to close the monthly view when a date is selected, but for some weird reason it only works every other time. Still trying to figure out why.
mCalendarView.setListener(new CollapseCalendarView.OnDateSelect() {
@Override
public void onDateSelected(LocalDate date) {
if (mCalendarView.getManager() != null) {
CalendarManager.State state = mCalendarView.getManager().getState();
if (state == CalendarManager.State.MONTH) {
mCalendarView.getManager().toggleView();
}
}
}
});
I am unable to find any function which can help me manually trigger expand or collapse view. I looked at the source code. I believe Resize manager is the main class which handles expand or collapse functionality. And it take touch events to trigger the function. Can you by pass the touch function to achieve this functionality.
The text was updated successfully, but these errors were encountered: