BlockListViewController class
- Mixed-in types
Constructors
- BlockListViewController({ContactListViewShowHandler? willShowHandler, bool enableRefresh = true})
Properties
- enableRefresh → bool
-
是否开启下来刷新
final
- hasDisposed ↔ bool
-
getter/setter pairinherited
- hasFetched ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore ↔ bool
-
getter/setter pairinherited
-
list
↔ List<
ChatUIKitListItemModelBase> -
getter/setter pairinherited
-
loadingType
↔ ValueNotifier<
ChatUIKitListViewType> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- willShowHandler → ContactListViewShowHandler?
-
会话列表显示前的回调,你可以在这里对会话列表进行处理,比如排序或者加减等。如果不设置将会直接显示。
final
Methods
-
addUser(
String userId) → void -
dispose(
) → void -
override
-
fetchBlocks(
) → Future< List< String> > -
fetchItemList(
{bool force = false, bool reload = false}) → Future< void> -
获取联系人列表,会优先从本地获取,如果本地没有,并且没有从服务器获取过,则从服务器获取。
force
(bool) 是否强制从服务器获取,默认为false
。override -
fetchMoreItemList(
) → Future< void> -
inherited
-
mapperToContactItemModelItems(
List< String> userIds) → List<ContactItemModel> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBlockedContactAdded(
String userId) → void -
override
-
onBlockedContactDeleted(
String userId) → void -
override
-
onContactAdded(
String userId) → void -
inherited
-
onContactDeleted(
String userId) → void -
inherited
-
onContactRequestReceived(
String userId, String? reason) → void -
inherited
-
onFriendRequestAccepted(
String userId) → void -
inherited
-
onFriendRequestCountChanged(
int count) → void -
inherited
-
onFriendRequestDeclined(
String userId) → void -
inherited
-
refresh(
) → Future< void> -
inherited
-
reload(
) → Future< void> -
从新从本地获取联系人列表
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited