我有一个recyclerview列表,并且有一个用于下一项的按钮。当我单击按钮时,recyclerview看不到。我该怎么做?像这样:
recyclerView.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, false));
int index = 0;
for(Point point: points) {
recyclerView.smoothScrollToPosition(index);
index ++;
}