Skip to content

Commit 29314ca

Browse files
committed
setRequestFail for DataModel
1 parent 63494a1 commit 29314ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/in/srain/cube/views/list/PagedListDataModel.java

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ protected void setRequestResult(List<T> list, int total) {
5151
}
5252
}
5353

54+
protected void setRequestFail() {
55+
mListPageInfo.unlock();
56+
}
57+
5458
protected void setRequestResult(List<T> list, boolean hasMore) {
5559
mListPageInfo.updateListInfo(list, hasMore);
5660
if (null != mPagedListDataHandler) {

0 commit comments

Comments
 (0)