更新时间:2023-12-03 13:07:10
很抱歉,回答了我自己的问题.我通过遵循此处提供的解决方案解决了我的问题.我的问题的主要原因是RecyclerView在调用时没有调用onCreateViewHolder或onBindView.我正在尝试刷新它.
Sorry, for answering my own question. I solved my question by following solution provided here.Main cause of my problem was that RecyclerView was not calling onCreateViewHolder or onBindView, when i was trying to refresh it.