material-components / material-components/material-components-android
BottomAppBar: add animation start/end listener for customization
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
I'm having problem with animating extra child elements inside BottomAppBar
There is a package private method `addAnimationListener`. Animation added are called inside dispatchAnimationStart/dispatchAnimationEnd methods. We can make `addAnimationListener` public
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at BottomAppBar's package-private addAnimationListener method and inspect how dispatchAnimationStart and dispatchAnimationEnd invoke registered animations. Make the listener registration available for customization while preserving the existing dispatch behavior, then verify that callers can register listeners for both animation lifecycle events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100