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 don't know why when I try to change the calendar fragment to another one when I click o a day using initCalderItemClickCallback method, it doesn't work
Here is the code:
calenderEvent.initCalderItemClickCallback(new CalenderDayClickListener() { @OverRide
public void onGetDay(DayContainerModel dayContainerModel) {
dateString = dayContainerModel.getYear() + "-" + (dayContainerModel.getMonthNumber() + 1) + "-" + dayContainerModel.getDay();
getActivity().getSupportFragmentManager().beginTransaction()
.setCustomAnimations(R.anim.enter_from_right, R.anim.exit_to_right, R.anim.enter_from_right, R.anim.exit_to_right)
.replace(R.id.fragmentContainer_patient, HistoryCrisisAndDiaryFragment.create(patient, dateString), "HISTORY_CRISIS_AND_DIARY_FRAGMENT")
.addToBackStack(null)
.commit();
}
});
The text was updated successfully, but these errors were encountered:
I don't know why when I try to change the calendar fragment to another one when I click o a day using initCalderItemClickCallback method, it doesn't work
Here is the code:
calenderEvent.initCalderItemClickCallback(new CalenderDayClickListener() {
@OverRide
public void onGetDay(DayContainerModel dayContainerModel) {
dateString = dayContainerModel.getYear() + "-" + (dayContainerModel.getMonthNumber() + 1) + "-" + dayContainerModel.getDay();
getActivity().getSupportFragmentManager().beginTransaction()
.setCustomAnimations(R.anim.enter_from_right, R.anim.exit_to_right, R.anim.enter_from_right, R.anim.exit_to_right)
.replace(R.id.fragmentContainer_patient, HistoryCrisisAndDiaryFragment.create(patient, dateString), "HISTORY_CRISIS_AND_DIARY_FRAGMENT")
.addToBackStack(null)
.commit();
}
});
The text was updated successfully, but these errors were encountered: