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

New view annotation for hook after view bound #242

Merged
merged 1 commit into from
Jul 14, 2017

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Jul 13, 2017

Adds the AfterPropsSet annotation for use with ModelView annotations.

/**
 * This can be used to annotate methods inside classes with a {@link com.airbnb.epoxy.ModelView}
 * annotation. Methods with this annotation will be called after a view instance  is bound to a
 * model and all model props have been set. This is useful if you need to wait until multiple props
 * are set before doing certain initialization.
 * <p>
 * Methods with this annotation will be called after both the initial bind when the view comes on
 * screen, and after partial binds when an onscreen view is updated.
 */

@elihart elihart merged commit db8b76c into master Jul 14, 2017
@elihart elihart deleted the eli-after_bind_annotation branch July 14, 2017 18:27
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