refreshLayout.setColorSchemeResources(R.color.red_light, R.color.green_light, R.color.blue_light, R.color.orange_light);
RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(getApplicationContext());
adapter = new ChatListAdapter(this, datas);
adapter.disableLoadMore();
list.setLayoutManager(layoutManager);
<BUG>list.setAdapter(adapter);
refreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {</BUG>
datas.clear();

refreshLayout.setColorSchemeResources(R.color.red_light, R.color.green_light, R.color.blue_light, R.color.orange_light);
RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(getApplicationContext());
adapter = new ChatListAdapter(this, datas);
adapter.disableLoadMore();
list.setLayoutManager(layoutManager);
list.setAdapter(adapter);
refreshLayout.setOnRefreshListener(() -> {
datas.clear();
