如果您可以添加一些代码片段以更好地了解您的问题,我将非常感激.虽然,这是一个摘录
{
recyclerView.setHasFixedSize(true);
linearLayoutManager = new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, true);
linearLayoutManager.setReverseLayout(false);
linearLayoutManager.setStackFromEnd(false);
adapter = new RecyclerAdapter(getContext(), arrayList);
recyclerView.setLayoutManager(linearLayoutManager);
recyclerView.setAdapter(adapter);
recyclerView.setNestedScrollingEnabled(false);
adapter.notifyDataSetChanged();
}