question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BadgeUtils] RestrictTo(Scope.LIBRARY)

See original GitHub issue

Currently 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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wcshicommented, Aug 24, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found