public abstract class ScannedDeviceAdapter extends AbstractScanDeviceAdapter<ScannedDeviceAdapter.MyViewHolder>
Modifier and Type | Class and Description |
---|---|
static class |
ScannedDeviceAdapter.MyViewHolder
The ViewHolder used by this item.
|
static interface |
ScannedDeviceAdapter.ViewAdapter |
Constructor and Description |
---|
ScannedDeviceAdapter(ScannedDeviceAdapter.ViewAdapter viewAdapter) |
Modifier and Type | Method and Description |
---|---|
void |
bindViewHolder(eu.davidea.flexibleadapter.FlexibleAdapter<eu.davidea.flexibleadapter.items.IFlexible> adapter,
ScannedDeviceAdapter.MyViewHolder holder,
int position,
java.util.List<java.lang.Object> payloads) |
ScannedDeviceAdapter.MyViewHolder |
createViewHolder(android.view.View view,
eu.davidea.flexibleadapter.FlexibleAdapter adapter) |
int |
getLayoutRes() |
getProtocolFactory
equals, getBubbleText, getItemViewType, getSpanSize, isDraggable, isEnabled, isHidden, isSelectable, isSwipeable, onViewAttached, onViewDetached, setDraggable, setEnabled, setHidden, setSelectable, setSwipeable, shouldNotifyChange, unbindViewHolder
public ScannedDeviceAdapter(ScannedDeviceAdapter.ViewAdapter viewAdapter)
public int getLayoutRes()
getLayoutRes
in interface eu.davidea.flexibleadapter.items.IFlexible<ScannedDeviceAdapter.MyViewHolder>
getLayoutRes
in class eu.davidea.flexibleadapter.items.AbstractFlexibleItem<ScannedDeviceAdapter.MyViewHolder>
public ScannedDeviceAdapter.MyViewHolder createViewHolder(android.view.View view, eu.davidea.flexibleadapter.FlexibleAdapter adapter)
createViewHolder
in interface eu.davidea.flexibleadapter.items.IFlexible<ScannedDeviceAdapter.MyViewHolder>
createViewHolder
in class eu.davidea.flexibleadapter.items.AbstractFlexibleItem<ScannedDeviceAdapter.MyViewHolder>
public void bindViewHolder(eu.davidea.flexibleadapter.FlexibleAdapter<eu.davidea.flexibleadapter.items.IFlexible> adapter, ScannedDeviceAdapter.MyViewHolder holder, int position, java.util.List<java.lang.Object> payloads)
bindViewHolder
in interface eu.davidea.flexibleadapter.items.IFlexible<ScannedDeviceAdapter.MyViewHolder>
bindViewHolder
in class eu.davidea.flexibleadapter.items.AbstractFlexibleItem<ScannedDeviceAdapter.MyViewHolder>