n4kz / react-native-indicators

Activity indicator collection for React Native
Other
899 stars 117 forks source link

Determinate Circular MaterialIndicator #6

Open RishitKedia opened 6 years ago

RishitKedia commented 6 years ago

Hey, @n4kz! 👋

I've been using MaterialIndicator which is awesome, but is indeterminate. It'd be great if we could also use it as a determinate indicator. Is this possible? 😋

Reference: https://material.io/guidelines/components/progress-activity.html

Thanks for all your open-source work! 🙏

Noitidart commented 6 years ago

This would be sooooo awesome!! I have been looking for exactly this (a determinate MaterialIndicator using native driver) for the longest time!

Noitidart commented 6 years ago

It would be awesome if this determinate loader can be used like this:

https://storage.googleapis.com/material-design/publish/material_v_12/assets/0B6Okdz75tqQsdk1oMG9KY2pCcms/components-progressactivity-typesofindicators-circular-wfab-xhdpi-003.mp4

its from the materail guidelines here - https://material.io/guidelines/components/progress-activity.html#progress-activity-types-of-indicators

I tried my hand it but had a hard time :(

n4kz commented 4 years ago

Thanks for issue and sorry for delayed reply. I've refactored MaterialIndicator in recent release and implemented animation state restoration on resume. The next big thing to do for this component - determinate indicator. And I'm planning it for next release :)

jaatbabu18 commented 2 years ago

how to stop animating