Class GeofenceSelectionFragment.GeofenceAdapter
-
- All Implemented Interfaces:
public class GeofenceSelectionFragment.GeofenceAdapter extends RecyclerView.Adapter<GeofenceSelectionFragment.GeofenceAdapter.Holder>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
GeofenceSelectionFragment.GeofenceAdapter.OnGeofenceClickedListener
public class
GeofenceSelectionFragment.GeofenceAdapter.Holder
-
Field Summary
Fields Modifier and Type Field Description private final List<GeofenceSelectionFragment.WrappedGeofence>
wrappedGeofences
private final GeofenceSelectionFragment.GeofenceAdapter.OnGeofenceClickedListener
onGeofenceClickedListener
-
Constructor Summary
Constructors Constructor Description GeofenceSelectionFragment.GeofenceAdapter(List<GeofenceSelectionFragment.WrappedGeofence> wrappedGeofences, GeofenceSelectionFragment.GeofenceAdapter.OnGeofenceClickedListener onGeofenceClickedListener)
-
Method Summary
Modifier and Type Method Description final List<GeofenceSelectionFragment.WrappedGeofence>
getWrappedGeofences()
final GeofenceSelectionFragment.GeofenceAdapter.OnGeofenceClickedListener
getOnGeofenceClickedListener()
GeofenceSelectionFragment.GeofenceAdapter.Holder
onCreateViewHolder(ViewGroup parent, Integer viewType)
Unit
onBindViewHolder(GeofenceSelectionFragment.GeofenceAdapter.Holder holder, Integer position)
Integer
getItemCount()
-
Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, createViewHolder, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GeofenceSelectionFragment.GeofenceAdapter
GeofenceSelectionFragment.GeofenceAdapter(List<GeofenceSelectionFragment.WrappedGeofence> wrappedGeofences, GeofenceSelectionFragment.GeofenceAdapter.OnGeofenceClickedListener onGeofenceClickedListener)
-
-
Method Detail
-
getWrappedGeofences
final List<GeofenceSelectionFragment.WrappedGeofence> getWrappedGeofences()
-
getOnGeofenceClickedListener
final GeofenceSelectionFragment.GeofenceAdapter.OnGeofenceClickedListener getOnGeofenceClickedListener()
-
onCreateViewHolder
GeofenceSelectionFragment.GeofenceAdapter.Holder onCreateViewHolder(ViewGroup parent, Integer viewType)
-
onBindViewHolder
Unit onBindViewHolder(GeofenceSelectionFragment.GeofenceAdapter.Holder holder, Integer position)
-
getItemCount
Integer getItemCount()
-
-
-
-