What are the three abstract methods of RecyclerView adapter T class?

Thành Đạt

New member
What are the three abstract methods of RecyclerView adapter T class?
Answer
These required methods are as follows:
  • onCreateViewHolder(ViewGroup parent, int viewType)
  • onBindViewHolder(RecyclerView. ViewHolder holder, int position)
  • getItemCount()
18 нояб. 2016 г.
 

Tìm kiếm

Back
Top