PRM392Xuất hiện trong 5 đề thi
Which of the following statements is true about ViewHolder?
Các lựa chọn
AAn adapter can use multiple ViewHolder classes to hold headers and various types of data.
BYou can have exactly one view holder for data and one view holder for a header.
CA RecyclerView supports multiple types of headers, but the data has to be uniform.
DWhen adding a header, you subclass RecyclerView to insert the header at the correct position.