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

Builder object doesn't seem to be accessible? #71

Closed
sandyscoffable opened this issue Jun 12, 2018 · 3 comments
Closed

Builder object doesn't seem to be accessible? #71

sandyscoffable opened this issue Jun 12, 2018 · 3 comments
Assignees
Labels

Comments

@sandyscoffable
Copy link

The FAQ states the following:

I want to use features of the base library that haven't made it to this one yet

If the base library gets features and they aren't ported to this wrapper yet, you can include that as a dependency in addition to this one, and use the two together. For these purposes, the internal DrawerBuilder that this library uses is exposed through a property, and you can access it like so:

drawer {
builder.withKeepStickyItemsVisible(true)
}

However, I get the following error when trying to do this in Android Studio:

screen shot 2018-06-12 at 11 20 00

What am I doing wrong? 😄

@zsmb13
Copy link
Owner

zsmb13 commented Jun 12, 2018

Whoops, sorry, these builder properties were made internal without considering these use cases - or updating the README, for that matter.

They'll be public again in the next release, which we'll be out as soon as the base library fixes this issue, which is currently breaking builds.

@zsmb13 zsmb13 added the bug label Jun 12, 2018
@zsmb13 zsmb13 self-assigned this Jun 12, 2018
@sandyscoffable
Copy link
Author

Thanks ❤️

@zsmb13 zsmb13 closed this as completed in 425c45f Jun 20, 2018
@zsmb13
Copy link
Owner

zsmb13 commented Jun 20, 2018

This fix is present in the now published 1.3.5 release that's live on jcenter.

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

2 participants