public class MyFlexibleAdapter
extends eu.davidea.flexibleadapter.FlexibleAdapter<eu.davidea.flexibleadapter.items.AbstractFlexibleItem>
eu.davidea.flexibleadapter.FlexibleAdapter.DiffUtilCallback<T extends eu.davidea.flexibleadapter.items.IFlexible>, eu.davidea.flexibleadapter.FlexibleAdapter.EndlessScrollListener, eu.davidea.flexibleadapter.FlexibleAdapter.HandlerCallback, eu.davidea.flexibleadapter.FlexibleAdapter.OnActionStateListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnDeleteCompleteListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnFilterListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnItemClickListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnItemLongClickListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnItemMoveListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnItemSwipeListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnStickyHeaderChangeListener, eu.davidea.flexibleadapter.FlexibleAdapter.OnUpdateListener
Modifier and Type | Field and Description |
---|---|
int |
beginningOffset |
Constructor and Description |
---|
MyFlexibleAdapter(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addBeginning(eu.davidea.flexibleadapter.items.AbstractFlexibleItem item) |
void |
addBeginning(eu.davidea.flexibleadapter.items.AbstractFlexibleItem item,
int offset) |
boolean |
addBeginning(java.util.List<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> items) |
void |
addChild(ExpandableHeaderItem headerItem,
eu.davidea.flexibleadapter.items.AbstractFlexibleItem item) |
boolean |
addItem(eu.davidea.flexibleadapter.items.AbstractFlexibleItem item) |
java.util.ArrayList<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> |
createItemsCopy()
For filtering purpose.
|
void |
expand(ExpandableHeaderItem headerItem) |
int |
getDataCount() |
java.util.ArrayList<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> |
getItemsCopy() |
eu.davidea.flexibleadapter.items.AbstractFlexibleItem |
getLastItem() |
boolean |
hasData() |
void |
onLoadMoreComplete(java.util.List<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> items) |
void |
removeAll() |
int |
removeItems(ExpandableHeaderItem headerItem) |
addItem, addItems, addItemToSection, addItemToSection, addItemWithDelay, addListener, addScrollableFooter, addScrollableFooterWithDelay, addScrollableHeader, addScrollableHeaderWithDelay, addSection, addSection, addSubItem, addSubItem, addSubItems, addSubItems, areHeadersShown, areHeadersSticky, calculatePositionFor, clear, clearAllBut, clearSelection, collapse, collapse, collapseAll, collapseAll, confirmDeletion, contains, emptyBin, ensureHeaderParent, expand, expand, expand, expand, expandAll, expandAll, expandItemsAtStartUp, filterItems, filterItems, filterItems, filterItems, getCardinalPositionOf, getCurrentChildren, getCurrentItems, getDeletedChildren, getDeletedItems, getEndlessCurrentPage, getEndlessPageSize, getEndlessTargetCount, getExpandableOf, getExpandableOf, getExpandableOfDeletedChild, getExpandablePositionOf, getExpandedItems, getExpandedPositions, getFilter, getGlobalPositionOf, getHeaderItems, getHeaderOf, getItem, getItem, getItemCount, getItemCountOfTypes, getItemId, getItemTouchHelper, getItemTouchHelperCallback, getItemViewType, getMainItemCount, getMinCollapsibleLevel, getSameTypePositionOf, getScrollableFooters, getScrollableHeaders, getSectionHeader, getSectionItemPositions, getSectionItems, getSiblingsOf, getStickyHeaderElevation, getStickyPosition, getSubPositionOf, getTime, getUndoPositions, hasFilter, hasHeader, hasNewFilter, hasSameHeader, hasSubItems, hideAllHeaders, invalidateItemDecorations, isAnimateChangesWithDiffUtil, isAnyChildSelected, isAnyParentSelected, isAutoCollapseOnExpand, isAutoScrollOnExpand, isEmpty, isEnabled, isEndlessScrollEnabled, isExpandable, isExpanded, isExpanded, isFiltering, isHandleDragEnabled, isHeader, isItemEnabled, isLongPressDragEnabled, isPermanentDelete, isRecursiveCollapse, isRestoreInTime, isRestoreWithSelection, isScrollableHeaderOrFooter, isScrollableHeaderOrFooter, isSelectable, isSwipeEnabled, isTopEndless, moveItem, moveItem, onActionStateChanged, onAttachedToRecyclerView, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onItemMove, onItemSwiped, onLoadMoreComplete, onRestoreInstanceState, onSaveInstanceState, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, removeAllScrollableFooters, removeAllScrollableHeaders, removeAllSelectedItems, removeAllSelectedItems, removeItem, removeItem, removeItems, removeItems, removeItemsOfType, removeItemWithDelay, removeListener, removeRange, removeRange, removeScrollableFooter, removeScrollableFooterWithDelay, removeScrollableHeader, removeScrollableHeaderWithDelay, removeSection, restoreDeletedItems, saveUndoPositions, selectAll, setAnimateChangesWithDiffUtil, setAnimateToLimit, setAutoCollapseOnExpand, setAutoScrollOnExpand, setDiffUtilCallback, setDisplayHeadersAtStartUp, setEndlessPageSize, setEndlessProgressItem, setEndlessScrollListener, setEndlessScrollThreshold, setEndlessTargetCount, setFilter, setHandleDragEnabled, setHeadersShown, setItemTouchHelperCallback, setLoadingMoreAtStartUp, setLongPressDragEnabled, setMinCollapsibleLevel, setNotifyChangeOfUnfilteredItems, setNotifyMoveOfFilteredItems, setPermanentDelete, setRecursiveCollapse, setRestoreSelectionOnUndo, setStickyHeaderElevation, setStickyHeaders, setStickyHeaders, setSwipeEnabled, setTopEndless, setUnlinkAllItemsOnRemoveHeaders, shouldMove, showAllHeaders, smoothScrollToPosition, swapItems, toggleSelection, updateDataSet, updateDataSet, updateItem, updateItem, updateItem
isAnimationOnForwardScrollingEnabled, isAnimationOnReverseScrollingEnabled, isOnlyEntryAnimation, setAnimationDelay, setAnimationDuration, setAnimationEntryStep, setAnimationInitialDelay, setAnimationInterpolator, setAnimationOnForwardScrolling, setAnimationOnReverseScrolling, setOnlyEntryAnimation
addSelection, enableLogs, getAllBoundViewHolders, getFastScroller, getFlexibleLayoutManager, getMode, getRecyclerView, getSelectedItemCount, getSelectedPositions, getSelectedPositionsAsSet, isFastScrollerEnabled, isLastItemInActionMode, isSelectAll, isSelected, onCreateBubbleText, onFastScrollerStateChange, removeSelection, setFastScroller, setFlexibleLayoutManager, setMode, toggleFastScroller, useTag
bindViewHolder, createViewHolder, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onFailedToRecycleView, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public boolean addItem(eu.davidea.flexibleadapter.items.AbstractFlexibleItem item)
addItem
in class eu.davidea.flexibleadapter.FlexibleAdapter<eu.davidea.flexibleadapter.items.AbstractFlexibleItem>
public boolean addBeginning(java.util.List<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> items)
public void addBeginning(eu.davidea.flexibleadapter.items.AbstractFlexibleItem item)
public void addBeginning(eu.davidea.flexibleadapter.items.AbstractFlexibleItem item, int offset)
public int removeItems(ExpandableHeaderItem headerItem)
public void addChild(ExpandableHeaderItem headerItem, eu.davidea.flexibleadapter.items.AbstractFlexibleItem item)
public void expand(ExpandableHeaderItem headerItem)
public eu.davidea.flexibleadapter.items.AbstractFlexibleItem getLastItem()
public boolean hasData()
public java.util.ArrayList<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> createItemsCopy()
public java.util.ArrayList<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> getItemsCopy()
public void removeAll()
public void onLoadMoreComplete(java.util.List<eu.davidea.flexibleadapter.items.AbstractFlexibleItem> items)
onLoadMoreComplete
in class eu.davidea.flexibleadapter.FlexibleAdapter<eu.davidea.flexibleadapter.items.AbstractFlexibleItem>
public int getDataCount()