[BadgeUtils] RestrictTo(Scope.LIBRARY)
See original GitHub issueCurrently the BadgeUtils
class can be called from within the same library since it is marked with @RestrictTo(Scope.LIBRARY)
.
Are you planning to remove the restriction in the next releases?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
RestrictTo.Scope - Android Developers
Restrict usage to code within packages whose groups share the same library group prefix up to the last ".", so for example libraries...
Read more >I need to show a badge on Material chip at the right top. How ...
AndroidStudio shows an error for BadgeUtils as this class is annotated as @RestrictTo(Scope.LIBRARY), however it compiles without problems and ...
Read more >BadgeDrawable未读消息数 - 简书
修改:BadgeUtils在api31是可用的,api29是有一个@RestrictTo(Scope.LIBRARY)的注解的,外部无法使用 所以看下自己的api版本这个到底能用不.
Read more >【Android】BadgeDrawableをImageViewでなんとか使って ...
BadgeUtils は @RestrictTo(Scope.LIBRARY) アノテーションが付いているため、そのまま使うとLintの警告が出てしまいます。幸いメソッドの中身の処理 ...
Read more >Free Automated Malware Analysis Service - powered by Falcon ...
Notification announcer - ByVoice v3.4.7 (Premium).apk · Incident Response · Indicators · File Details · Extracted Strings.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Discussed this with them, seems reasonable to us. Before we open this, we’d like to switch badge to use ViewOverlayImpl so that it can use OverlayApi14 for pre-api 18 instead of setting the badge as the anchor’s foreground.
There’s an issue requesting Androidx to expose compat support for ViewOverlay so we don’t need to use our private forked version.
Resolved in https://github.com/material-components/material-components-android/commit/5e35d14c187b65b32788cce28d758657f1b5aebb
rolledback in https://github.com/material-components/material-components-android/commit/0f717f8cce9bf669177f7c2fccb1a747b26dfa81, rolled forward in https://github.com/material-components/material-components-android/commit/9487c33b8ab50edbcff46cf728531712ab091a85