onCreateView 里match parent失效的写法
View.inflate(
context,
R.layout.item_part_bottomsheet,
null
)
好用写法:
LayoutInflater.from(parent.context)
.inflate(R.layout.item_parts_detail_notice, parent, false)