-
public final class CalendarPageAdapter extends PagerAdapter
This class is responsible for loading a calendar page content.
Created by Applandeo team
-
-
Field Summary
Fields Modifier and Type Field Description private final List<SelectedDay>selectedDaysprivate SelectedDayselectedDay
-
Constructor Summary
Constructors Constructor Description CalendarPageAdapter(Context context, CalendarProperties calendarProperties)
-
Method Summary
Modifier and Type Method Description final List<SelectedDay>getSelectedDays()final SelectedDaygetSelectedDay()final UnitsetSelectedDay(SelectedDay selectedDay)IntegergetCount()IntegergetItemPosition(Object any)BooleanisViewFromObject(View view, Object any)ObjectinstantiateItem(ViewGroup container, Integer position)final UnitaddSelectedDay(SelectedDay selectedDay)UnitdestroyItem(ViewGroup container, Integer position, Object any)-
Methods inherited from class com.applandeo.materialcalendarview.adapters.CalendarPageAdapter
destroyItem, finishUpdate, finishUpdate, getPageTitle, getPageWidth, instantiateItem, notifyDataSetChanged, registerDataSetObserver, restoreState, saveState, setPrimaryItem, setPrimaryItem, setViewPagerObserver, startUpdate, startUpdate, unregisterDataSetObserver -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CalendarPageAdapter
CalendarPageAdapter(Context context, CalendarProperties calendarProperties)
-
-
Method Detail
-
getSelectedDays
final List<SelectedDay> getSelectedDays()
-
getSelectedDay
final SelectedDay getSelectedDay()
-
setSelectedDay
final Unit setSelectedDay(SelectedDay selectedDay)
-
getItemPosition
Integer getItemPosition(Object any)
-
isViewFromObject
Boolean isViewFromObject(View view, Object any)
-
instantiateItem
Object instantiateItem(ViewGroup container, Integer position)
-
addSelectedDay
final Unit addSelectedDay(SelectedDay selectedDay)
-
destroyItem
Unit destroyItem(ViewGroup container, Integer position, Object any)
-
-
-
-