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

[CheckableImageButton] Remove LIBRARY_GROUP restriction

Open
#1,879 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Awaiting Design Feedback feature request New component
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
CheckableImageButton is a useful class that is restricted from usage.

Describe the solution you'd like
Remove the restriction from this class so consumers may use it.

Describe alternatives you've considered
Copy the class into local source code.

Additional context
This is useful for usage with animated vector drawables that key on the checked state of a view.

We also happily accept pull requests.

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

Locate the CheckableImageButton class and inspect how its LIBRARY_GROUP restriction is applied. Remove that restriction, then verify that Android consumers can use the class for animated vector drawables keyed to the checked state.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.