material-components / material-components/material-components-android

BottomAppBar: add animation start/end listener for customization

Open
#1,156 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Widget: BottomAppBar
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.