- AbstractAdapter<Item extends IItem> - Class in com.mikepenz.fastadapter
-
Created by mikepenz on 27.12.15.
- AbstractAdapter() - Constructor for class com.mikepenz.fastadapter.AbstractAdapter
-
- AbstractItem<Item extends IItem & IClickable,VH extends android.support.v7.widget.RecyclerView.ViewHolder> - Class in com.mikepenz.fastadapter.items
-
Created by mikepenz on 14.07.15.
- AbstractItem() - Constructor for class com.mikepenz.fastadapter.items.AbstractItem
-
- adapter - Variable in class com.mikepenz.fastadapter.FastAdapter.RelativeInfo
-
- AdapterUtil - Class in com.mikepenz.fastadapter.utils
-
Created by mikepenz on 31.12.15.
- AdapterUtil() - Constructor for class com.mikepenz.fastadapter.utils.AdapterUtil
-
- add(Item...) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
add an array of items to the end of the existing items
- add(List<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
add a list of items to the end of the existing items
- add(int, Item...) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
add an array of items at the given position within the existing items
- add(int, List<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
add a list of items at the given position within the existing items
- add(Item...) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
add an array of items to the end of the existing items
- add(List<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
add a list of items to the end of the existing items
will prior check if we are currently filtering
- add(int, Item...) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
add an array of items at the given position within the existing items
- add(int, List<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
add a list of items at the given position within the existing items
- add(Item...) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
add an array of items to the end of the existing items
- add(List<Item>) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
add a list of items to the end of the existing items
- add(int, Item...) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
add an array of items at the given position within the existing items
- add(int, List<Item>) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
add a list of items at the given position within the existing items
- addAllSubItems(Item, List<Item>) - Static method in class com.mikepenz.fastadapter.utils.AdapterUtil
-
Gets all subItems from a given parent item
- addModel(Model...) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
add an array of models
- addModel(List<Model>) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
add a list of models
- addModel(int, Model...) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
add an array of models at a given (global) position
- addModel(int, List<Model>) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
add a list of models at a given (global) position
- adjustPosition(Set<Integer>, int, int, int) - Static method in class com.mikepenz.fastadapter.utils.AdapterUtil
-
internal method to handle the selections if items are added / removed
- adjustPosition(SparseIntArray, int, int, int) - Static method in class com.mikepenz.fastadapter.utils.AdapterUtil
-
internal method to handle the selections if items are added / removed
- apply(Input) - Method in interface com.mikepenz.fastadapter.utils.Function
-
- attachEvent(View, RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.CustomEventHook
-
this method is called by the `FastAdapter` during ViewHolder creation ONCE.
- attachToView(EventHook<Item>, RecyclerView.ViewHolder, View) - Static method in class com.mikepenz.fastadapter.utils.EventHookUtil
-
attaches the specific event to a view
- attachToWindow(VH) - Method in interface com.mikepenz.fastadapter.IItem
-
View got attached to the window
- attachToWindow(VH) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
View got attached to the window
- checkId(T) - Static method in class com.mikepenz.fastadapter.utils.IdDistributor
-
set an unique identifier for the item which do not have one set already
- checkIds(List<T>) - Static method in class com.mikepenz.fastadapter.utils.IdDistributor
-
set an unique identifier for all items which do not have one set already
- checkIds(T...) - Static method in class com.mikepenz.fastadapter.utils.IdDistributor
-
set an unique identifier for all items which do not have one set already
- clear() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
removes all items of this adapter
- clear() - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
removes all items of this adapter
- clear() - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
removes all items of this adapter
- clearMappedTypes() - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
clears the internal mapper - be sure, to remap everything before going on
- clearModel() - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
clear all models
- clearTypeInstance() - Method in class com.mikepenz.fastadapter.FastAdapter
-
clears the internal mapper - be sure, to remap everything before going on
- ClickEventHook<Item extends IItem> - Class in com.mikepenz.fastadapter.listeners
-
- ClickEventHook() - Constructor for class com.mikepenz.fastadapter.listeners.ClickEventHook
-
- collapse() - Method in class com.mikepenz.fastadapter.FastAdapter
-
collapses all expanded items
- collapse(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
collapses all expanded items
- collapse(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
collapses (closes) the given collapsible item at the given position
- collapse(int, boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
collapses (closes) the given collapsible item at the given position
- com.mikepenz.fastadapter - package com.mikepenz.fastadapter
-
- com.mikepenz.fastadapter.adapters - package com.mikepenz.fastadapter.adapters
-
- com.mikepenz.fastadapter.items - package com.mikepenz.fastadapter.items
-
- com.mikepenz.fastadapter.listeners - package com.mikepenz.fastadapter.listeners
-
- com.mikepenz.fastadapter.utils - package com.mikepenz.fastadapter.utils
-
- createView(Context, ViewGroup) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
this method is called by generateView(Context ctx), generateView(Context ctx, ViewGroup parent) and getViewHolder(ViewGroup parent)
it will generate the View from the layout, overwrite this if you want to implement your view creation programatically
- CustomEventHook<Item extends IItem> - Class in com.mikepenz.fastadapter.listeners
-
- CustomEventHook() - Constructor for class com.mikepenz.fastadapter.listeners.CustomEventHook
-
- generateView(Context) - Method in interface com.mikepenz.fastadapter.IItem
-
generates a view by the defined LayoutRes
- generateView(Context, ViewGroup) - Method in interface com.mikepenz.fastadapter.IItem
-
generates a view by the defined LayoutRes and pass the LayoutParams from the parent
- generateView(Context) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
generates a view by the defined LayoutRes
- generateView(Context, ViewGroup) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
generates a view by the defined LayoutRes and pass the LayoutParams from the parent
- GenericAbstractItem<Model,Item extends GenericAbstractItem<?,?,?>,VH extends android.support.v7.widget.RecyclerView.ViewHolder> - Class in com.mikepenz.fastadapter.items
-
Created by mikepenz on 14.07.15.
- GenericAbstractItem(Model) - Constructor for class com.mikepenz.fastadapter.items.GenericAbstractItem
-
- GenericItemAdapter<Model,Item extends IGenericItem<? extends Model,?,?>> - Class in com.mikepenz.fastadapter.adapters
-
Created by mikepenz on 27.12.15.
- GenericItemAdapter(Function<Model, Item>) - Constructor for class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
- getAdapter(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Gets the adapter for the given position
- getAdapterItem(int) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- getAdapterItem(int) - Method in interface com.mikepenz.fastadapter.IAdapter
-
- getAdapterItemCount() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- getAdapterItemCount() - Method in interface com.mikepenz.fastadapter.IAdapter
-
defines the count of items of THIS adapter
- getAdapterItems() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- getAdapterItems() - Method in interface com.mikepenz.fastadapter.IAdapter
-
- getAdapterPosition(Item) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
Searches for the given item and calculates its relative position
- getAdapterPosition(long) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
Searches for the given identifier and calculates its relative position
- getAdapterPosition(Item) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
Searches for the given item and calculates its relative position
- getAdapterPosition(long) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
Searches for the given identifier and calculates its relative position
- getAdapterPosition(Item) - Method in interface com.mikepenz.fastadapter.IAdapter
-
Searches for the given item and calculates its relative position
- getAdapterPosition(long) - Method in interface com.mikepenz.fastadapter.IAdapter
-
Searches for the given item and calculates its relative position
- getAllItems(FastAdapter<Item>) - Static method in class com.mikepenz.fastadapter.utils.AdapterUtil
-
Gets all items (including sub items) from the FastAdapter
- getComparator() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- getConstraint() - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
- getEventHooks() - Method in interface com.mikepenz.fastadapter.IHookable
-
- getExpanded() - Method in class com.mikepenz.fastadapter.FastAdapter
-
returns the expanded items this contains position and the count of items
which are expanded by this position
- getExpandedItems() - Method in class com.mikepenz.fastadapter.FastAdapter
-
- getExpandedItemsCount(int, int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
calculates the count of expandable items before a given position
- getFastAdapter() - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
- getFastAdapter() - Method in interface com.mikepenz.fastadapter.IAdapter
-
defines the FastAdapter which manages all the core logic
- getFastAdapter(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.CustomEventHook
-
Helper method to get the FastAdapter from this ViewHolder
- getGlobalPosition(int) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
returns the global position if the relative position within this adapter was given
- getGlobalPosition(int) - Method in interface com.mikepenz.fastadapter.IAdapter
-
Returns the global position based on the relative position given
- getHolderAdapterPosition(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.FastAdapter
-
helper method to get the position from a holder
overwrite this if you have an adapter adding additional items inbetwean
- getIdentifier() - Method in interface com.mikepenz.fastadapter.IIdentifyable
-
returns the identifier of this item
-1 is the default not set state
- getIdentifier() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- getItem(int) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
make sure we return the Item from the FastAdapter so we retrieve the item from all adapters
- getItem(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
gets the IItem by a position, from all registered adapters
- getItem(int) - Method in interface com.mikepenz.fastadapter.IAdapter
-
- getItem(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.CustomEventHook
-
helper method to get the item for this ViewHolder
- getItemCount() - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
make sure we return the count from the FastAdapter so we retrieve the count from all adapters
- getItemCount() - Method in class com.mikepenz.fastadapter.FastAdapter
-
calculates the total ItemCount over all registered adapters
- getItemCount() - Method in interface com.mikepenz.fastadapter.IAdapter
-
- getItemFilter() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- getItemId(int) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
overwrite the getItemId to correctly return the value from the FastAdapter
- getItemId(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
finds the int ItemId from the IItem which exists at the given position
- getItemViewType(int) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
overwrite the getItemViewType to correctly return the value from the FastAdapter
- getItemViewType(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
finds the int ItemViewType from the IItem which exists at the given position
- getLayoutRes() - Method in interface com.mikepenz.fastadapter.IItem
-
returns the layout for the given item
- getModel() - Method in interface com.mikepenz.fastadapter.IGenericItem
-
get's the model of the item
- getModel() - Method in class com.mikepenz.fastadapter.items.GenericAbstractItem
-
- getModels() - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
returns the list of the model generated from the list of items
- getOnItemClickListener() - Method in interface com.mikepenz.fastadapter.IClickable
-
- getOnItemClickListener() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- getOnPreItemClickListener() - Method in interface com.mikepenz.fastadapter.IClickable
-
- getOnPreItemClickListener() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- getOrder() - Method in class com.mikepenz.fastadapter.adapters.FooterAdapter
-
- getOrder() - Method in class com.mikepenz.fastadapter.adapters.HeaderAdapter
-
- getOrder() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- getOrder() - Method in interface com.mikepenz.fastadapter.IAdapter
-
defines in which order this adapter should be hooked into the FastAdapter
- getParent() - Method in interface com.mikepenz.fastadapter.ISubItem
-
use this method to get the parent of this sub item
the parent should also contain this sub item in its sub items list
- getPosition(Item) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Searches for the given item and calculates its global position
- getPosition(long) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Searches for the given item and calculates its global position
- getPreItemCount(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
calculates the item count up to a given (excluding this) adapter (defined by the global position of the item)
- getPreItemCountByOrder(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
calculates the item count up to a given (excluding this) order number
- getRelativeInfo(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Internal method to get the Item as ItemHolder which comes with the relative position within its adapter
Finds the responsible adapter for the given position
- getSelectedItems() - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
helper method to get all selections from the ItemAdapter's original item list
- getSelectedItems() - Method in class com.mikepenz.fastadapter.FastAdapter
-
- getSelections() - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
helper method to get all selections from the ItemAdapter's original item list
- getSelections() - Method in class com.mikepenz.fastadapter.FastAdapter
-
- getSubItems() - Method in interface com.mikepenz.fastadapter.IExpandable
-
- getTag() - Method in interface com.mikepenz.fastadapter.IItem
-
return a Tag of the Item
- getTag() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- getType() - Method in interface com.mikepenz.fastadapter.IItem
-
returns the type of the Item.
- getTypeInstance(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
gets the TypeInstance remembered within the FastAdapter for an item
- getViewHolder(ViewGroup) - Method in interface com.mikepenz.fastadapter.IItem
-
Generates a ViewHolder from this Item with the given parent
- getViewHolder(ViewGroup) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
Generates a ViewHolder from this Item with the given parent
- getViewHolder(View) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
This method returns the ViewHolder for our item, using the provided View.
- IAdapter<Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 27.12.15.
- IClickable<Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 25.02.16.
- IdDistributor - Class in com.mikepenz.fastadapter.utils
-
Created by mikepenz on 19.09.15.
- IdDistributor() - Constructor for class com.mikepenz.fastadapter.utils.IdDistributor
-
- IDraggable<T,Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 30.12.15.
- IExpandable<T,Item extends IItem & ISubItem> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 30.12.15.
- IGenericItem<Model,Item extends IGenericItem<?,?,?>,VH extends android.support.v7.widget.RecyclerView.ViewHolder> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 03.02.15.
- IHookable<Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by fabianterhorst on 01.03.17.
- IIdentifyable<T> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 03.02.15.
- IItem<T,VH extends android.support.v7.widget.RecyclerView.ViewHolder> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 03.02.15.
- IItemAdapter<Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 30.12.15.
- IItemAdapter.Predicate<Item extends IItem> - Interface in com.mikepenz.fastadapter
-
the interface used to filter the list inside the ItemFilter
- isAutoExpanding() - Method in interface com.mikepenz.fastadapter.IExpandable
-
overwrite this method and return true if the item should auto expand on click, false if you want to disable this
- isDraggable() - Method in interface com.mikepenz.fastadapter.IDraggable
-
- ISelectionListener<Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by flisar on 21.09.2016.
- isEnabled() - Method in interface com.mikepenz.fastadapter.IItem
-
return if the item is enabled
- isEnabled() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- isExpanded() - Method in interface com.mikepenz.fastadapter.IExpandable
-
- isOnlyOneExpandedItem() - Method in class com.mikepenz.fastadapter.FastAdapter
-
- isPositionBasedStateManagement() - Method in class com.mikepenz.fastadapter.FastAdapter
-
- isSelectable() - Method in class com.mikepenz.fastadapter.FastAdapter
-
- isSelectable() - Method in interface com.mikepenz.fastadapter.IItem
-
return if the item is selectable
- isSelectable() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- isSelected() - Method in interface com.mikepenz.fastadapter.IItem
-
return if the item is selected
- isSelected() - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
- isSwipeable() - Method in interface com.mikepenz.fastadapter.ISwipeable
-
- ISubItem<T,S extends IItem & IExpandable> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 30.12.15.
- isUseIdDistributor() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- ISwipeable<T,Item extends IItem> - Interface in com.mikepenz.fastadapter
-
Created by mikepenz on 30.12.15.
- item - Variable in class com.mikepenz.fastadapter.FastAdapter.RelativeInfo
-
- ItemAdapter<Item extends IItem> - Class in com.mikepenz.fastadapter.adapters
-
Created by mikepenz on 27.12.15.
- ItemAdapter() - Constructor for class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- ItemFilter<Item extends IItem> - Class in com.mikepenz.fastadapter.adapters
-
ItemFilter which extends the Filter api provided by Android
This calls automatically all required methods, just overwrite the filterItems method
- ItemFilter(ItemAdapter<Item>) - Constructor for class com.mikepenz.fastadapter.adapters.ItemFilter
-
- ItemFilterListener<Item extends IItem> - Interface in com.mikepenz.fastadapter.listeners
-
interface for the ItemFilterListener
- itemsFiltered(CharSequence, List<Item>) - Method in interface com.mikepenz.fastadapter.listeners.ItemFilterListener
-
- onAttachedToRecyclerView(RecyclerView) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onAttachedToRecyclerView is managed by the FastAdapter so forward this correctly
- onAttachedToRecyclerView(RecyclerView) - Method in class com.mikepenz.fastadapter.FastAdapter
-
- onBind(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.ClickEventHook
-
- onBind(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.CustomEventHook
-
- onBind(RecyclerView.ViewHolder) - Method in interface com.mikepenz.fastadapter.listeners.EventHook
-
- onBind(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.LongClickEventHook
-
- onBind(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.TouchEventHook
-
- onBindMany(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.ClickEventHook
-
- onBindMany(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.CustomEventHook
-
- onBindMany(RecyclerView.ViewHolder) - Method in interface com.mikepenz.fastadapter.listeners.EventHook
-
- onBindMany(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.LongClickEventHook
-
- onBindMany(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.listeners.TouchEventHook
-
- onBindViewHolder(RecyclerView.ViewHolder, int) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onBindViewHolder is managed by the FastAdapter so forward this correctly
- onBindViewHolder(RecyclerView.ViewHolder, int, List) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onBindViewHolder is managed by the FastAdapter so forward this correctly
- onBindViewHolder(RecyclerView.ViewHolder, int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Binds the data to the created ViewHolder and sets the listeners to the holder.itemView
Note that you should use the `onBindViewHolder(RecyclerView.ViewHolder holder, int position, List payloads`
as it allows you to implement a more efficient adapter implementation
- onBindViewHolder(RecyclerView.ViewHolder, int, List<Object>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Binds the data to the created ViewHolder and sets the listeners to the holder.itemView
- onBindViewHolder(RecyclerView.ViewHolder, int, List<Object>) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListener
-
is called in onBindViewHolder to bind the data on the ViewHolder
- onBindViewHolder(RecyclerView.ViewHolder, int, List<Object>) - Method in class com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListenerImpl
-
is called in onBindViewHolder to bind the data on the ViewHolder
- OnBindViewHolderListenerImpl() - Constructor for class com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListenerImpl
-
- onClick(View, IAdapter<Item>, Item, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnClickListener
-
the onClick event of a specific item inside the RecyclerView
- onClick(View, int, FastAdapter<Item>, Item) - Method in class com.mikepenz.fastadapter.listeners.ClickEventHook
-
- onCreateViewHolder(ViewGroup, int) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onCreateViewHolder is managed by the FastAdapter so forward this correctly
- onCreateViewHolder(ViewGroup, int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Creates the ViewHolder by the viewType
- OnCreateViewHolderListenerImpl() - Constructor for class com.mikepenz.fastadapter.FastAdapter.OnCreateViewHolderListenerImpl
-
- onDetachedFromRecyclerView(RecyclerView) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onDetachedFromRecyclerView is managed by the FastAdapter so forward this correctly
- onDetachedFromRecyclerView(RecyclerView) - Method in class com.mikepenz.fastadapter.FastAdapter
-
- onFailedToRecycleView(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onFailedToRecycleView is managed by the FastAdapter so forward this correctly
- onFailedToRecycleView(RecyclerView.ViewHolder, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListener
-
is called when the ViewHolder is in a transient state.
- onFailedToRecycleView(RecyclerView.ViewHolder, int) - Method in class com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListenerImpl
-
is called when the ViewHolder is in a transient state.
- onFailedToRecycleView(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.FastAdapter
-
is called when the ViewHolder is in a transient state.
- onLongClick(View, IAdapter<Item>, Item, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnLongClickListener
-
the onLongClick event of a specific item inside the RecyclerView
- onLongClick(View, int, FastAdapter<Item>, Item) - Method in class com.mikepenz.fastadapter.listeners.LongClickEventHook
-
- onPostCreateViewHolder(RecyclerView.ViewHolder) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnCreateViewHolderListener
-
is called after the viewHolder was created and the default listeners were added
- onPostCreateViewHolder(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.FastAdapter.OnCreateViewHolderListenerImpl
-
is called after the viewHolder was created and the default listeners were added
- onPreCreateViewHolder(ViewGroup, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnCreateViewHolderListener
-
is called inside the onCreateViewHolder method and creates the viewHolder based on the provided viewTyp
- onPreCreateViewHolder(ViewGroup, int) - Method in class com.mikepenz.fastadapter.FastAdapter.OnCreateViewHolderListenerImpl
-
is called inside the onCreateViewHolder method and creates the viewHolder based on the provided viewTyp
- onReset() - Method in interface com.mikepenz.fastadapter.listeners.ItemFilterListener
-
- onSelectionChanged(Item, boolean) - Method in interface com.mikepenz.fastadapter.ISelectionListener
-
is called, whenever the provided item is selected or deselected
- onTouch(View, MotionEvent, IAdapter<Item>, Item, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnTouchListener
-
the onTouch event of a specific item inside the RecyclerView
- onTouch(View, MotionEvent, int, FastAdapter<Item>, Item) - Method in class com.mikepenz.fastadapter.listeners.TouchEventHook
-
- onViewAttachedToWindow(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onViewAttachedToWindow is managed by the FastAdapter so forward this correctly
- onViewAttachedToWindow(RecyclerView.ViewHolder, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListener
-
is called in onViewAttachedToWindow when the view is detached from the window
- onViewAttachedToWindow(RecyclerView.ViewHolder, int) - Method in class com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListenerImpl
-
is called in onViewAttachedToWindow when the view is detached from the window
- onViewAttachedToWindow(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.FastAdapter
-
is called in onViewAttachedToWindow when the view is detached from the window
- onViewDetachedFromWindow(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onViewDetachedFromWindow is managed by the FastAdapter so forward this correctly
- onViewDetachedFromWindow(RecyclerView.ViewHolder, int) - Method in interface com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListener
-
is called in onViewDetachedFromWindow when the view is detached from the window
- onViewDetachedFromWindow(RecyclerView.ViewHolder, int) - Method in class com.mikepenz.fastadapter.FastAdapter.OnBindViewHolderListenerImpl
-
is called in onViewDetachedFromWindow when the view is detached from the window
- onViewDetachedFromWindow(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.FastAdapter
-
is called in onViewDetachedFromWindow when the view is detached from the window
- onViewRecycled(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the onViewRecycled is managed by the FastAdapter so forward this correctly
- onViewRecycled(RecyclerView.ViewHolder) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Unbinds the data to the already existing ViewHolder and removes the listeners from the holder.itemView
- registerAdapter(A) - Method in class com.mikepenz.fastadapter.FastAdapter
-
registers an AbstractAdapter which will be hooked into the adapter chain
- registerAdapterDataObserver(RecyclerView.AdapterDataObserver) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
overwrite the registerAdapterDataObserver to correctly forward all events to the FastAdapter
- registerTypeInstance(Item) - Method in class com.mikepenz.fastadapter.FastAdapter
-
register a new type into the TypeInstances to be able to efficiently create thew ViewHolders
- RelativeInfo() - Constructor for class com.mikepenz.fastadapter.FastAdapter.RelativeInfo
-
- remapMappedTypes() - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
forces to remap all possible types for the RecyclerView
- remove(int) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
removes an item at the given position within the existing icons
- remove(int) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
removes an item at the given position within the existing icons
- remove(int) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
removes an item at the given position within the existing icons
- removeModel(int) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
remove a model at the given (global) position
- removeModelRange(int, int) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
remove a range oof model items starting with the (global) position and the size
- removeRange(int, int) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
removes a range of items starting with the given position within the existing icons
- removeRange(int, int) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
removes a range of items starting with the given position within the existing icons
- removeRange(int, int) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
removes a range of items starting with the given position within the existing icons
- restoreSubItemSelectionStatesForAlternativeStateManagement(Item, List<String>) - Static method in class com.mikepenz.fastadapter.utils.AdapterUtil
-
internal method to restore the selection state of subItems
- saveInstanceState(Bundle) - Method in class com.mikepenz.fastadapter.FastAdapter
-
add the values to the bundle for saveInstanceState
- saveInstanceState(Bundle, String) - Method in class com.mikepenz.fastadapter.FastAdapter
-
add the values to the bundle for saveInstanceState
- select(Iterable<Integer>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
selects all items at the positions in the iteratable
- select(int) - Method in class com.mikepenz.fastadapter.FastAdapter
-
selects an item and remembers its position in the selections list
- select(int, boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
selects an item and remembers its position in the selections list
- select(int, boolean, boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
selects an item and remembers its position in the selections list
- select() - Method in class com.mikepenz.fastadapter.FastAdapter
-
select all items
- select(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
select all items
- set(List<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
set a new list of items and apply it to the existing list (clear - add) for this adapter
NOTE may consider using setNewList if the items list is a reference to the list which is used inside the adapter
NOTE this will not sort
- set(List<Item>, boolean) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
- set(int, Item) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
sets an item at the given position, overwriting the previous item
- set(int, Item) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
sets an item at the given position, overwriting the previous item
- set(List<Item>) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
set a new list of items and apply it to the existing list (clear - add) for this adapter
- set(int, Item) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
sets an item at the given position, overwriting the previous item
- setHasStableIds(boolean) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
the setHasStableIds is managed by the FastAdapter so forward this correctly
- setModel(List<Model>) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
set a new list of models for this adapter
- setModel(int, Model) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
set a model at a given position
- setModel(Model) - Method in class com.mikepenz.fastadapter.items.GenericAbstractItem
-
Deprecated.
- setNewList(List<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
sets a complete new list of items onto this adapter, using the new list.
- setNewList(List<Item>, boolean) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
sets a complete new list of items onto this adapter, using the new list.
- setNewList(List<Item>) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
sets a complete new list of items onto this adapter, using the new list.
- setNewModel(List<Model>) - Method in class com.mikepenz.fastadapter.adapters.GenericItemAdapter
-
sets a complete new list of items onto this adapter, using the new list.
- setSubItems(T, List<S>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
sets the subItems of the given collapsible
This method also makes sure identifiers are set if we use the IdDistributor
- setSubItems(T, List<S>) - Method in interface com.mikepenz.fastadapter.IItemAdapter
-
sets the subItems of the given collapsible
- withAllowDeselection(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
If false, a user can't deselect an item via click (you can still do this programmatically)
- withComparator(Comparator<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
define a comparator which will be used to sort the list "everytime" it is altered
NOTE this will only sort if you "set" a new list or "add" new items (not if you provide a position for the add function)
- withComparator(Comparator<Item>, boolean) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
define a comparator which will be used to sort the list "everytime" it is altered
NOTE this will only sort if you "set" a new list or "add" new items (not if you provide a position for the add function)
- withEnabled(boolean) - Method in interface com.mikepenz.fastadapter.IItem
-
set if the item is enabled
- withEnabled(boolean) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
set if this item is enabled
- withEventHook(EventHook<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
adds a new event hook for an item
NOTE: this has to be called before adding the first items, as this won't be called anymore after the ViewHolders were created
- withEventHooks(Collection<? extends EventHook<Item>>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
adds new event hooks for an item
NOTE: this has to be called before adding the first items, as this won't be called anymore after the ViewHolders were created
- withFilterPredicate(IItemAdapter.Predicate<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
define the predicate used to filter the list inside the ItemFilter
- withIdentifier(long) - Method in interface com.mikepenz.fastadapter.IIdentifyable
-
set the identifier of this item
- withIdentifier(long) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
set the identifier of this item
- withIsDraggable(boolean) - Method in interface com.mikepenz.fastadapter.IDraggable
-
use this method to set if item is draggable
- withIsExpanded(boolean) - Method in interface com.mikepenz.fastadapter.IExpandable
-
use this method to set if the Expandable item is currently expanded
- withIsSwipeable(boolean) - Method in interface com.mikepenz.fastadapter.ISwipeable
-
use this method to set if item is swipeable
- withItemEvent(EventHook<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
- withItemFilter(ItemFilter<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
allows you to define your own Filter implementation instead of the default `ItemFilter`
- withItemFilterListener(ItemFilterListener<Item>) - Method in class com.mikepenz.fastadapter.adapters.ItemFilter
-
- withLegacyBindViewMode(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
set to true if you want the FastAdapter to forward all calls from onBindViewHolder(final RecyclerView.ViewHolder holder, int position) to onBindViewHolder(final RecyclerView.ViewHolder holder, int position, List payloads)
- withModel(Model) - Method in interface com.mikepenz.fastadapter.IGenericItem
-
set's the model of the item
- withModel(Model) - Method in class com.mikepenz.fastadapter.items.GenericAbstractItem
-
- withMultiSelect(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Enable this if you want multiSelection possible in the list
- withOnBindViewHolderListener(FastAdapter.OnBindViewHolderListener) - Method in class com.mikepenz.fastadapter.FastAdapter
-
allows you to set an custom OnBindViewHolderListener which is used to bind the view.
- withOnClickListener(FastAdapter.OnClickListener<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Define the OnClickListener which will be used for a single item
- withOnCreateViewHolderListener(FastAdapter.OnCreateViewHolderListener) - Method in class com.mikepenz.fastadapter.FastAdapter
-
allows you to set a custom OnCreateViewHolderListener which will be used before and after the ViewHolder is created
You may check the OnCreateViewHolderListenerImpl for the default behavior
- withOnItemClickListener(FastAdapter.OnClickListener<Item>) - Method in interface com.mikepenz.fastadapter.IClickable
-
- withOnItemClickListener(FastAdapter.OnClickListener<Item>) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
provide a listener which is called before the click listener is called within the adapter
return true if you want to consume the event
- withOnItemPreClickListener(FastAdapter.OnClickListener<Item>) - Method in interface com.mikepenz.fastadapter.IClickable
-
- withOnItemPreClickListener(FastAdapter.OnClickListener<Item>) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
provide a listener which is called before any processing is done within the adapter
return true if you want to consume the event
- withOnLongClickListener(FastAdapter.OnLongClickListener<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Define the OnLongClickListener which will be used for a single item
- withOnlyOneExpandedItem(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
set if there should only be one opened expandable item
DEFAULT: false
- withOnPreClickListener(FastAdapter.OnClickListener<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Define the OnPreClickListener which will be used for a single item and is called after all internal methods are done
- withOnPreLongClickListener(FastAdapter.OnLongClickListener<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Define the OnLongClickListener which will be used for a single item and is called after all internal methods are done
- withOnTouchListener(FastAdapter.OnTouchListener<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Define the TouchListener which will be used for a single item
- withParent(S) - Method in interface com.mikepenz.fastadapter.ISubItem
-
use this method to set the parent of this sub item
make sure, that you add this item to the parents sub items list as well
- withPositionBasedStateManagement(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
set if we want to use the positionBasedStateManagement (high performant for lists up to Integer.MAX_INT)
set to false if you want to use the new stateManagement which will come with more flexibility (but worse performance on long lists)
- withSavedInstanceState(Bundle) - Method in class com.mikepenz.fastadapter.FastAdapter
-
re-selects all elements stored in the savedInstanceState
IMPORTANT! Call this method only after all items where added to the adapters again.
- withSavedInstanceState(Bundle, String) - Method in class com.mikepenz.fastadapter.FastAdapter
-
re-selects all elements stored in the savedInstanceState
IMPORTANT! Call this method only after all items where added to the adapters again.
- withSelectable(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
set if no item is selectable
- withSelectable(boolean) - Method in interface com.mikepenz.fastadapter.IItem
-
set if the item is selectable
- withSelectable(boolean) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
set if this item is selectable
- withSelectionListener(ISelectionListener<Item>) - Method in class com.mikepenz.fastadapter.FastAdapter
-
set a listener that get's notified whenever an item is selected or deselected
- withSelectOnLongClick(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
Disable this if you want the selection on a single tap
- withSelectWithItemUpdate(boolean) - Method in class com.mikepenz.fastadapter.FastAdapter
-
select between the different selection behaviors.
- withSetSelected(boolean) - Method in interface com.mikepenz.fastadapter.IItem
-
set if the item is selected
- withSetSelected(boolean) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
set if this item is selected
- withSubItems(List<Item>) - Method in interface com.mikepenz.fastadapter.IExpandable
-
use this method to set the subItems of this item
- withTag(Object) - Method in interface com.mikepenz.fastadapter.IItem
-
set the Tag of the Item
- withTag(Object) - Method in class com.mikepenz.fastadapter.items.AbstractItem
-
set the tag of this item
- withUseIdDistributor(boolean) - Method in class com.mikepenz.fastadapter.adapters.ItemAdapter
-
defines if the IdDistributor is used to provide an ID to all added items which do not yet define an id
- wrap(FastAdapter) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
Wrap the FastAdapter with this AbstractAdapter and keep its reference to forward all events correctly
- wrap(IAdapter) - Method in class com.mikepenz.fastadapter.AbstractAdapter
-
Wrap the AbstractAdapter with this AbstractAdapter and keep the reference to its FastAdapter to which we forward all events correctly