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

Bad state: The same type cannot be registered twice #20

Open
pishguy opened this issue Jun 10, 2019 · 1 comment
Open

Bad state: The same type cannot be registered twice #20

pishguy opened this issue Jun 10, 2019 · 1 comment
Labels
question Further information is requested

Comments

@pishguy
Copy link

pishguy commented Jun 10, 2019

when i try to use Fmvvm like fragment in android i get this error:

Bad state: The same type cannot be registered twice

@Bowman74 Bowman74 added the question Further information is requested label Jun 10, 2019
@Bowman74
Copy link
Owner

That error happens if you try to register two different classes in the component resolver to the same type which isn't allowed. The components are resolved by type so if you were allowed to register two components to the same type, it wouldn't know which one to return.

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

No branches or pull requests

2 participants