Simple loader alike android one, but with one extented capability - animating proceeding to result. Recently had some task from UX/UI mates to create such a thing, hope you find it useful in your projects!
1.0
- get copy of this package;
- add it to your project;
- and you're all done :)
- import
ResultingLoader
to file of interest; - create instance of
ResultingLoader.Self
, likelet loader = ResultingLoader()
, or with any desired configuration; - start loader animation with
loader.start()
- finish animation
.finish(result: ResultingLoaderResult?)
- Please dont limit
frame
of instances ofRersultingLoader
ude to its being configured viasize: ResultingLoaderSize
parameter; - Changing
.size
stops all ongoing animations; - Changing
animationSpeed
does not affect any ongoing animations. New value will be used for next call of the.start()
;