mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: later page: multi select
feat: fav detail page: multi select opt: reply item opt: load more Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -21,17 +21,18 @@ class DynamicsTabController extends CommonController {
|
||||
}
|
||||
|
||||
@override
|
||||
Future onRefresh() async {
|
||||
Future onRefresh() {
|
||||
if (dynamicsType == 'all') {
|
||||
mainController.setCount();
|
||||
}
|
||||
offset = '';
|
||||
await queryData();
|
||||
return super.onRefresh();
|
||||
}
|
||||
|
||||
@override
|
||||
bool customHandleResponse(Success response) {
|
||||
offset = response.response.offset;
|
||||
isEnd = response.response.items.isEmpty;
|
||||
if (currentPage != 1 && loadingState.value is Success) {
|
||||
response.response.items
|
||||
.insertAll(0, (loadingState.value as Success).response);
|
||||
|
||||
Reference in New Issue
Block a user