anlifecycle 3.0.2
anlifecycle: ^3.0.2 copied to clipboard
AnLifecycle draws on lifecycle in androidx to implement lifecycle on Flutter.
3.0.2 #
- Fix the exception where the observer of LifecycleRegistryState calls remove during destroy.
3.0.1 #
- In the implementation of ILifecycleRegistry, allow calling addLifecycleObserver in the constructor.
3.0.0 #
- Refactored the
registrycontent to ensure that the timing of invocations duringregistryregistration is correct.
2.0.4 #
- Fixed the
destroyerror inregisterLifecycleObserverToOwner.
2.0.3 #
- Removed
findLifecycleObserverfromLifecycleObserverRegistryand replaced it with extension compatibility mode. - Fixed a bug in
LifecycleRouteOwnerwhere route records were incorrect inLifecycleNavigatorObserver.didReplace. - Delayed the handling of the
resumeevent for Rouge to align with the behavior of otherLifecycleOwnerWidgets (triggered afterwidget.build). - Added
removeCallbacktoLifecycleCallbacks.
2.0.2 #
- Fixed the issue where the first
startevent was triggered afterbuild(in versions 2.0.0, 2.0.1); after the fix, thestartevent must occur beforebuild.
2.0.1 #
addOnDidUpdateWidgetcauses performance issues and will be removed in the next version.- Provided
LifecycleObserverRegistryDelegateto allow customization ofLifecycleObserverRegistryMixin. - Added
LifecycleObserverRegistryElementMixinto mix the registry into custom elements.
2.0.0 #
- The lifecycle provider now uses
InheritedWidgetto ensure timely notifications of changes. - Added handling for
LifecycleCallbackassociations. - Optimized and adjusted the project structure (which may introduce some compatibility issues).
1.0.5 #
- Fixed a bug where the
disposestate was inconsistent with!mounted, causing page state anomalies.
1.0.4 #
- Corrected the judgment issue when there is scaling in
pageviewItem. - Fixed the transparency judgment in
routepage.
1.0.3 #
- Corrected
EventStreamandStateStreamto be synchronously invoked streams. - Fixed the exception where
Registercould not be removed immediately after being added.
1.0.2 #
- Ensured that the first
ownerstart event is always triggered beforebuild.
1.0.1 #
- Optimized the judgment of
onStopandonPauseinRoutePage.
1.0.0 #
- Initial version released.