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

Improve model click listener handling #393

Merged
merged 2 commits into from
Jan 29, 2018

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Jan 29, 2018

Fix for #379

Instead of manually needing to store the EpoxyModel with the click listener this changes the approach to dynamically look up the associated view holder and model at the time of click.

it's simpler and requires less generated code. Should also handle rebinding with no issues

@elihart elihart merged commit c8e4ad1 into master Jan 29, 2018
@elihart elihart deleted the eli-model_click_listener_refactor branch January 29, 2018 20:00
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

Successfully merging this pull request may close these issues.

1 participant