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

No non-deprecated way to set item level #2603

Closed
7 of 11 tasks
Nohus opened this issue May 9, 2020 · 1 comment
Closed
7 of 11 tasks

No non-deprecated way to set item level #2603

Nohus opened this issue May 9, 2020 · 1 comment
Assignees

Comments

@Nohus
Copy link
Contributor

Nohus commented May 9, 2020

About this issue

In the BaseDrawerItem class:

    var level = 1
        protected set

    @Deprecated("Please consider to replace with the actual property setter")
    fun withLevel(level: Int): T {
        this.level = level
        return this as T
    }

The withLevel deprecation message says to use the property setter, but the property setter is protected so it can't be used.

Details

  • Used library version: 8.0.2
  • Used support library version: not relavant
  • Used gradle build tools version: not relavant
  • Used tooling / Android Studio version: not relavant
  • Other used libraries, potential conflicting libraries: not relavant

Checklist

@mikepenz mikepenz self-assigned this May 10, 2020
@mikepenz
Copy link
Owner

Thank you @Nohus for your report. this will be fixed in v8.0.3

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

No branches or pull requests

2 participants