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

Dealing with implicit intent #144

Open
jorgebo10 opened this issue Dec 31, 2016 · 2 comments
Open

Dealing with implicit intent #144

jorgebo10 opened this issue Dec 31, 2016 · 2 comments

Comments

@jorgebo10
Copy link

Hi, is it possible to use builder to build implicit intents? It could be a nice feature. Thanks

@stephanenicolas
Copy link
Collaborator

stephanenicolas commented Jan 2, 2017 via email

@dlemures
Copy link
Collaborator

dlemures commented Jan 3, 2017

Hi @jorgebo10 ,

Thanks for the nice question.

It is not possible to use a builder generated at compile time to build implicit intents.

The reasons is that implicit intents are resolved at runtime by the system. So we cannot know which component will be the target one.

We could discuss about custom data defined just for one activity inside the manifest, but:

  1. we are using annotation processing
  2. I don't think that it is the way to go (we might end up having a 1-many relationship). Why not to use explicit intents for this case?

@jorgebo10 do you want to provide some context or your case?

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

3 participants