Jude95 / EasyRecyclerView

ArrayAdapter,pull to refresh,auto load more,Header/Footer,EmptyView,ProgressView,ErrorView
2.03k stars 459 forks source link

update数据在有header的情况下 没有计算headerCount导致位置不对 #294

Closed lxww14 closed 5 years ago

lxww14 commented 5 years ago

fix by override update function

public void update(T object,int pos){ synchronized (mLock) { mObjects.set(pos,object); } if (mNotifyOnChange) notifyItemChanged(headerSize + pos); log("insertAll notifyItemChanged "+pos); }