单项选择题

添加分隔线使用哪个方法?()

A.setLayoutManager
B.addItemDecoration
C.setItemAnimator
D.setAdapter