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

Add ability to send imperative commands with new Trigger API #68

Closed
emilsjolander opened this issue Apr 12, 2017 · 1 comment
Closed

Comments

@emilsjolander
Copy link
Contributor

The Event api gives us the ability for child components to give callback to their parents. However in some cases we have the need for components to trigger actions on their children. The typical example is to issue a scrollToTop command on a Recycler component.

Let's call this Triggers, i.e. the ability perform imperative commands on mounted views/drawables in a type-safe way. This API would look very similar to the Event API but act in the inverse direction.

Point of contact: @muraziz

@colriot
Copy link
Contributor

colriot commented Jun 4, 2019

Already landed

@colriot colriot closed this as completed Jun 4, 2019
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