Skip to content

Getters for animation resources

Compare
Choose a tag to compare
@wmora wmora released this 08 Dec 14:07
· 189 commits to master since this release

Included static getters for animation resources. In that way, clients can apply the same animation or if the exact same animation does not work depending on the use case, they can query the specific fields they need.

The getters are Snackbar.getInAnimationResource() and Snackbar.getOutAnimationResource().
The getter getAnimationDuration() has now been deprecated. You should query that directly from the resource