RecyclerView加载数据,如果请求数据没有延时,直接add一批数据,然后调用notifyDataSetChanged()方法,就会报错
(java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling)
RecyclerView加载数据,如果请求数据没有延时,直接add一批数据,然后调用notifyDataSetChanged()方法,就会报错
(java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling)