Animation Asset Loader
Component Detail
Infrastructure
medium complexity
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Infrastructure utility that loads and manages Lottie or Rive animation files used in the Wrapped slide sequence. Handles asset bundling, lazy loading, and caching of animation controllers to ensure smooth playback during the slide transitions.
animation-asset-loader
Responsibilities
- Load Lottie/Rive animation files from asset bundle
- Cache animation controllers to prevent reload on slide revisit
- Provide animation playback control interface to the UI layer
- Dispose animation controllers on screen exit to free memory
Interfaces
loadAnimation(String assetPath)
getController(String animationKey)
playAnimation(String animationKey)
pauseAnimation(String animationKey)
disposeAll()