Which three classes are needed for a RecyclerView list?

  1. Toolbar, Menu and Dialog
  2. LayoutManager, Adapter and ViewHolder
  3. Intent, Bundle and Service
  4. Cursor, Provider and Receiver
Answer

B) LayoutManager, Adapter and ViewHolder

RecyclerView uses a layout manager, adapter and view holders.

Computer Science MCQ · More Action Bar and User Interface Design MCQs · Practise