CheckableImageButton is Hidden

Bram Yeh
1 min readJun 6, 2018

--

The support library v27.1.1 have a new component, CheckableImageButton, which extends AppCompatImageButton and implements interface Checkable.

It looks good but it is hidden with @RestrictTo(LIBRARY_GROUP). It means this is not a public component, and in Google’s suggestion, we shouldn’t use it (or we should disable Lint’s error for Restricted API).

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Bram Yeh
Bram Yeh

Written by Bram Yeh

Lead Android & iOS Mobile Engineer at Yahoo (Verizon Media) Taiwan https://www.linkedin.com/in/hanruyeh/

No responses yet

Write a response