Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setEnableLoadMore 设置问题 #2400

Closed
ruan7k opened this issue Aug 15, 2018 · 1 comment · Fixed by #2426
Closed

setEnableLoadMore 设置问题 #2400

ruan7k opened this issue Aug 15, 2018 · 1 comment · Fixed by #2426

Comments

@ruan7k
Copy link

ruan7k commented Aug 15, 2018

PullToRefreshUseActivity 页面 场景描述:

  1. 数据集合共2页 滑动到底部将所有数据加载完成。
    2.断掉网络,下拉刷新数据 此时数据mNextRequestPage 被重置为1 ,mAdapter.setEnableLoadMore(true);
    3 连接网络 用户滑动到底部触发 onLoadMoreRequested 方法 isRefresh 为false ,mNextRequestPage=1 ,数据完成加载后 mAdapter.addData(data); 方法 ,造成界面数据的重复。
AllenCoder added a commit to AllenCoder/BaseRecyclerViewAdapterHelper that referenced this issue Aug 26, 2018
@AllenCoder
Copy link
Collaborator

已修复demo的bug

AllenCoder added a commit that referenced this issue Aug 26, 2018
shabanichtbfob added a commit to shabanichtbfob/vitorfigueiredov that referenced this issue Jan 30, 2022
shabanichtbfob added a commit to shabanichtbfob/vitorfigueiredov that referenced this issue Jan 30, 2022
sbswigartszkl added a commit to sbswigartszkl/TigerPeng2m that referenced this issue Jan 30, 2022
gylidian4iz7r added a commit to gylidian4iz7r/jcgueriaud1p that referenced this issue Jan 30, 2022
gylidian4iz7r added a commit to gylidian4iz7r/jcgueriaud1p that referenced this issue Jan 30, 2022
MertKarlik08choj added a commit to MertKarlik08choj/crdavis2 that referenced this issue Jan 30, 2022
mitosisXhers added a commit to mitosisXhers/matjojob that referenced this issue Jan 30, 2022
Liberatysclw9v added a commit to Liberatysclw9v/fluffisx that referenced this issue Jan 30, 2022
AdoneZazvach added a commit to AdoneZazvach/akgarg0472r that referenced this issue Jan 30, 2022
ShadyTollipop00yy added a commit to ShadyTollipop00yy/SaraTomilloh that referenced this issue Jan 30, 2022
ShadyTollipop00yy added a commit to ShadyTollipop00yy/SaraTomilloh that referenced this issue Jan 30, 2022
gujiwuqingrox3tt added a commit to gujiwuqingrox3tt/evifree that referenced this issue Jan 30, 2022
lan666asp7shin added a commit to lan666asp7shin/londonappbreweryj that referenced this issue Jan 30, 2022
lan666asp7shin added a commit to lan666asp7shin/londonappbreweryj that referenced this issue Jan 30, 2022
aks-czech3qu added a commit to aks-czech3qu/londonappbreweryp that referenced this issue Jan 30, 2022
aks-czech3qu added a commit to aks-czech3qu/londonappbreweryp that referenced this issue Jan 30, 2022
seandong7byin added a commit to seandong7byin/myhartsar that referenced this issue Jan 30, 2022
qingygggmlr6l added a commit to qingygggmlr6l/hacklang-ideam that referenced this issue Jan 30, 2022
ou97 added a commit to ou97/AndrewYatzkano that referenced this issue Feb 5, 2022
ou97 added a commit to ou97/AndrewYatzkano that referenced this issue Feb 5, 2022
rin4573281133639 added a commit to rin4573281133639/mark-tasaka that referenced this issue Feb 5, 2022
rin4573281133639 added a commit to rin4573281133639/mark-tasaka that referenced this issue Feb 5, 2022
vdoqapatv added a commit to vdoqapatv/FSU-AC that referenced this issue Feb 5, 2022
555047241855949 added a commit to 555047241855949/smartinternz02a that referenced this issue Feb 5, 2022
555047241855949 added a commit to 555047241855949/smartinternz02a that referenced this issue Feb 5, 2022
NkyLams added a commit to NkyLams/joanby that referenced this issue Feb 5, 2022
xuluxiu5330 added a commit to xuluxiu5330/meet-projects8 that referenced this issue Feb 5, 2022
xuluxiu5330 added a commit to xuluxiu5330/meet-projects8 that referenced this issue Feb 5, 2022
Leoakdsalaur added a commit to Leoakdsalaur/theusual2 that referenced this issue Feb 5, 2022
lorizhixuing added a commit to lorizhixuing/learn-co-studentsx that referenced this issue Feb 5, 2022
lorizhixuing added a commit to lorizhixuing/learn-co-studentsx that referenced this issue Feb 5, 2022
aaawcoghao added a commit to aaawcoghao/PatriLotoy that referenced this issue Feb 5, 2022
niyunwtnfenf added a commit to niyunwtnfenf/DylanVann that referenced this issue Feb 5, 2022
kwixue added a commit to kwixue/YogurtCodeCharacterw that referenced this issue Feb 6, 2022
kwixue added a commit to kwixue/YogurtCodeCharacterw that referenced this issue Feb 6, 2022
zhanfong127888 added a commit to zhanfong127888/socadkq that referenced this issue Feb 28, 2022
mfao8ll9vss added a commit to mfao8ll9vss/MayerEmadq that referenced this issue Feb 28, 2022
Neos21yvm7v added a commit to Neos21yvm7v/eshmakar5 that referenced this issue Feb 28, 2022
dodocarlos0od2x added a commit to dodocarlos0od2x/atharvanaik10b that referenced this issue Feb 28, 2022
dodocarlos0od2x added a commit to dodocarlos0od2x/atharvanaik10b that referenced this issue Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants