參考:blog.csdn.net/lmj623565791/article/details/45059587
1.RecyclerView優(yōu)缺點(diǎn)
1)優(yōu)點(diǎn):
高度解耦:設(shè)置它提供的不同LayoutManager,ItemDecoration , ItemAnimator實(shí)現(xiàn)效果
顯示的方式:LayoutManager
Item間的間隔:ItemDecoration
Item增刪的動(dòng)畫:ItemAnimator
2)缺點(diǎn):
點(diǎn)擊,長(zhǎng)按等事件需要自己實(shí)現(xiàn)