public class HorizontalPickerAdapter
extends <any>
| Modifier and Type | Class and Description |
|---|---|
class |
HorizontalPickerAdapter.ViewHolder |
| Constructor and Description |
|---|
HorizontalPickerAdapter(int itemWidth,
OnItemClickedListener listener,
android.content.Context context,
int daysToCreate,
int offset,
int mBackgroundColor,
int mDateSelectedColor,
int mDateSelectedTextColor,
int mTodayDateTextColor,
int mTodayDateBackgroundColor,
int mDayOfWeekTextColor,
int mUnselectedDayTextColor) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateDays(int n,
long initialDate,
boolean cleanArray) |
Day |
getItem(int position) |
int |
getItemCount() |
void |
onBindViewHolder(HorizontalPickerAdapter.ViewHolder holder,
int position) |
HorizontalPickerAdapter.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
public HorizontalPickerAdapter(int itemWidth,
OnItemClickedListener listener,
android.content.Context context,
int daysToCreate,
int offset,
int mBackgroundColor,
int mDateSelectedColor,
int mDateSelectedTextColor,
int mTodayDateTextColor,
int mTodayDateBackgroundColor,
int mDayOfWeekTextColor,
int mUnselectedDayTextColor)
public void generateDays(int n,
long initialDate,
boolean cleanArray)
public HorizontalPickerAdapter.ViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
public void onBindViewHolder(HorizontalPickerAdapter.ViewHolder holder, int position)
public Day getItem(int position)
public int getItemCount()