Skip to content

FAQRecyclerAdapter

stardust edited this page Feb 20, 2023 · 1 revision

FAQRecyclerAdapter

The FAQRecyclerAdapter class manages the RecyclerView for the FAQActivity class.

Constructor

Parameters:

  • ArrayList<Question> faqList

onCreateViewHolder

Sets the view.

Parameters:

  • ViewGroup parent
  • int viewType

Return value:

  • ContactRecyclerAdapter.MyViewHolder
    • The view holder

onBindViewHolder

Sets the information for the contact items.

Parameters:

  • ContactRecyclerAdapter.MyViewHolder holder
  • int position

Return value:

  • none

getItemCount

Returns the size of faqList

Parameters:

  • none

Return value:

  • none
Clone this wiki locally