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

Relayouting after floatingpanelposition inset value was changed #39

Closed
kaungsoe opened this issue Nov 8, 2018 · 4 comments
Closed

Relayouting after floatingpanelposition inset value was changed #39

kaungsoe opened this issue Nov 8, 2018 · 4 comments

Comments

@kaungsoe
Copy link

kaungsoe commented Nov 8, 2018

How can I relayout again after floatingpanelposition inset value was changed?

@kaungsoe kaungsoe changed the title Relayouting after bottom inset was changed Relayouting after floatingpanelposition inset value was changed Nov 8, 2018
@scenee
Copy link
Owner

scenee commented Nov 9, 2018

Unfortunately, now you can't do it. I would like to consider a new API to do it.


EDIT

What do you think of add-update-layout-api branch?

I added FloatingPanelController.updateLayout() to update the layout object from the delegate and apply it to the views.

@kaungsoe
Copy link
Author

kaungsoe commented Nov 9, 2018

Thanks. I will take a look.

@kaungsoe
Copy link
Author

kaungsoe commented Nov 9, 2018

It's working nicely. Thanks.

@scenee
Copy link
Owner

scenee commented Nov 12, 2018

Thanks, @kaungsoe. I merged the new API to master. It will be released on v1.2.0.

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

No branches or pull requests

2 participants