Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrawd authored Apr 16, 2018
1 parent 194aa9e commit 4648d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ randomNumberAnimation.delay = 16
// or
randomNumberAnimation.setFPS(60)
```
**This library will stop the animation directly if your activity being destroyed, so it will avoid Activity leak. However, it is best practice if you stop the animation if it not visible to user and re-start it if it visible to user to gain the best performance**
**This library will stop the animation directly if your Activity being destroyed using LifecycleObserver, so it will avoid Activity leak. However, if your Activity is not implementing LifecycleOwner, you should stop the animation manually when your Activity is finishing. It is also best practice if you stop the animation if it not visible to user and re-start it if it visible to user to gain the best performance**
## License
```
MIT License
Expand Down

0 comments on commit 4648d79

Please sign in to comment.