Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UncontainedCarouselStrategy] constructor is annotated with @RestrictTo(Scope.LIBRARY_GROUP) #4218

Closed
makena-kungu opened this issue Jul 4, 2024 · 1 comment
Assignees
Labels

Comments

@makena-kungu
Copy link

Description: Trying to use the UncontainedCarouselStratergy constructor, an error is shown in android studio that it can only be used in the same LIBRARY GROUP.

Expected behavior: The constructor should be usable even from outside the library group

Minimal sample app repro: val strategy = UncontainedCarouselStrategy()

Material Library version: "1.12.0"

@kendrickumstattd
Copy link
Contributor

Here's the documentation on @RestrictTo(Scope.LIBRARY_GROUP): https://developer.android.com/reference/androidx/annotation/RestrictTo.Scope.

This Stack Overflow provides some additional information about the use of @RestrictTo(Scope.LIBRARY_GROUP): https://stackoverflow.com/questions/43656617/android-android-support-annotations-restrictto.

Assigning to @imhappi for additional information and context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants