Class RecordAdapter

java.lang.Object
androidx.recyclerview.widget.RecyclerView.Adapter<VH>
com.firebase.ui.firestore.FirestoreRecyclerAdapter<RecordModel,com.example.cardiacrecorder.RecordAdapter.RecordViewHolder>
com.example.cardiacrecorder.RecordAdapter
All Implemented Interfaces:
androidx.lifecycle.LifecycleObserver, com.firebase.ui.common.BaseChangeEventListener<com.google.firebase.firestore.DocumentSnapshot,com.google.firebase.firestore.FirebaseFirestoreException>, com.firebase.ui.firestore.ChangeEventListener

public class RecordAdapter extends com.firebase.ui.firestore.FirestoreRecyclerAdapter<RecordModel,com.example.cardiacrecorder.RecordAdapter.RecordViewHolder>
  • Nested Class Summary

    Nested classes/interfaces inherited from class androidx.recyclerview.widget.RecyclerView.Adapter

    androidx.recyclerview.widget.RecyclerView.Adapter.StateRestorationPolicy
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecordAdapter(com.firebase.ui.firestore.FirestoreRecyclerOptions<RecordModel> options, android.content.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.example.cardiacrecorder.RecordAdapter.RecordViewHolder
    onCreateViewHolder(android.view.ViewGroup parent, int viewType)
     

    Methods inherited from class com.firebase.ui.firestore.FirestoreRecyclerAdapter

    getItem, getItemCount, getSnapshots, onBindViewHolder, onChildChanged, onDataChanged, onError, startListening, stopListening, updateOptions

    Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter

    bindViewHolder, createViewHolder, findRelativeAdapterPositionIn, getItemId, getItemViewType, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RecordAdapter

      public RecordAdapter(@NonNull com.firebase.ui.firestore.FirestoreRecyclerOptions<RecordModel> options, android.content.Context context)
  • Method Details

    • onCreateViewHolder

      @NonNull public com.example.cardiacrecorder.RecordAdapter.RecordViewHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
      Specified by:
      onCreateViewHolder in class androidx.recyclerview.widget.RecyclerView.Adapter<com.example.cardiacrecorder.RecordAdapter.RecordViewHolder>