VideoTikListModel class
- Inheritance
-
- Object
- ChangeNotifier
- CusChangeNotifier
- VideoTikListModel
Constructors
Properties
-
cacheIds
↔ Set<
String> -
getter/setter pair
- count → int
-
no setter
- dataLoading ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- initPlayerCall ↔ dynamic Function()?
-
getter/setter pair
- isPreparing ↔ bool
-
getter/setter pair
-
items
↔ List<
TikElement> -
getter/setter pair
- nextPage ↔ dynamic Function(VideoTikTab tikTab, int page)?
-
getter/setter pair
- playStartNotify ↔ dynamic Function(FijkPlayer player)?
-
getter/setter pair
-
queue
↔ ListQueue<
VideoTikEntry> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tikTab ↔ VideoTikTab?
-
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
appendVideos(
List< VideoTikEntry> list) → dynamic -
changeCurrentPlayState(
int tabIndex) → void -
complete(
) → void - 完成数据装载
-
currentItem(
) → TikElement? -
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
element(
int position) → TikElement -
initPlayerListener(
VoidCallback initCall) → void -
instancePlayer(
VideoTikEntry entry) → FijkPlayer -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifierLazy(
) → void -
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
recovery(
int oldIndex, int newIndex) → void -
release(
) → void -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
resetPlayer(
VideoTikEntry entry, FijkPlayer? player) → void -
startLoadVideo(
) → void -
startVideo(
int newIndex) → void -
toString(
) → String -
A string representation of this object.
inherited
-
videoTurn(
int page) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited