Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Conversation

@dodgex
Copy link
Member

@dodgex dodgex commented Sep 13, 2015

extension/fix of PR #1467

related to issue #1440

@dodgex
Copy link
Member Author

dodgex commented Sep 13, 2015

sadly this can't be merged yet as we have some issues with importing of generic classes e.g. List

@WonderCsabo
Copy link
Member

Good news! I found what was the problem with List. Very-very nasty... Can you cherry-pick this commit to your branch?

@dodgex
Copy link
Member Author

dodgex commented Sep 14, 2015

This should also fix the multiple imports of the ParameterizedTypeReference. :D

@dodgex
Copy link
Member Author

dodgex commented Sep 15, 2015

rebased to fix the merge conflict with the ResponseErrorHanlder PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can call getEnvironment directly instead of holder.getEnvironment().
This way, you don't need to give the holder as a parameter of the method.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@yDelouis
Copy link
Contributor

It seems okay. Could you address my two comments ?

@dodgex
Copy link
Member Author

dodgex commented Sep 20, 2015

PR updated

WonderCsabo and others added 4 commits September 20, 2015 17:49
Generic response class is natively supported in Spring for Android 2.0.
This commit utilize that support, if it is available in the reponse
class is generic. It falls back to the old implementation otherwise.
yDelouis added a commit that referenced this pull request Sep 20, 2015
@yDelouis yDelouis merged commit 9c74844 into androidannotations:develop Sep 20, 2015
@yDelouis
Copy link
Contributor

Great ! Thanks.

@dodgex dodgex deleted the 1440_restParameterizedTypeReference branch September 20, 2015 16:06
@yDelouis yDelouis added this to the 4.0 milestone Sep 20, 2015
@WonderCsabo
Copy link
Member

It seems my very important commit was left out. :S

@WonderCsabo
Copy link
Member

I added that directly to develop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants