Browse Source

1、我的团队事件更新

tags/0.0.15+8
PH2 3 years ago
parent
commit
44a7df2456
2 changed files with 24 additions and 6 deletions
  1. +8
    -2
      lib/widgets/team/fans_list/bloc/team_list_fans_event.dart
  2. +16
    -4
      lib/widgets/team/fans_list/bloc/team_list_fans_state.dart

+ 8
- 2
lib/widgets/team/fans_list/bloc/team_list_fans_event.dart View File

@@ -18,10 +18,16 @@ class TeamListFansInitEvent extends TeamListFansEvent {
}

/// 下拉刷新
class TeamListFansOnRefreshEvent extends TeamListFansEvent {}
class TeamListFansOnRefreshEvent extends TeamListFansEvent {
@override
bool operator == (Object other) => false;
}

/// 上拉更多
class TeamListFansOnLoadEevnt extends TeamListFansEvent {}
class TeamListFansOnLoadEevnt extends TeamListFansEvent {
@override
bool operator == (Object other) => false;
}

/// 排序(单个条件)
class TeamListFansOnSortEvent extends TeamListFansEvent {


+ 16
- 4
lib/widgets/team/fans_list/bloc/team_list_fans_state.dart View File

@@ -30,13 +30,25 @@ class TeamListFansErrorState extends TeamListFansState {
}

/// 加载更多失败
class TeamListFansOnLoadErrorState extends TeamListFansState {}
class TeamListFansOnLoadErrorState extends TeamListFansState {
@override
bool operator == (Object other) => false;
}

/// 加载更多数据成功
class TeamListFansOnLoadSuccessState extends TeamListFansState{}
class TeamListFansOnLoadSuccessState extends TeamListFansState{
@override
bool operator == (Object other) => false;
}

/// 下拉刷新成功
class TeamListFansOnRefreshSuccessState extends TeamListFansState{}
class TeamListFansOnRefreshSuccessState extends TeamListFansState{
@override
bool operator == (Object other) => false;
}

/// 下拉刷新数据失败
class TeamListFansOnRefreshErrorState extends TeamListFansState{}
class TeamListFansOnRefreshErrorState extends TeamListFansState{
@override
bool operator == (Object other) => false;
}

Loading…
Cancel
Save