RecyclerView的距离每次点击的时候拉长
2019-06-03 本文已影响0人
皓皓amous
把RecyclerView的Manager的设置写在OnCreate()方法里面
private void initSetRecyclerViewManger() {
histtoryshowarea.setLayoutManager(new LinearLayoutManager(this));
histtoryshowarea.addItemDecoration(new DividerItemDecoration(this,DividerItemDecoration.VERTICAL));
}