This repository was archived by the owner on Feb 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix generic issues #1405
Merged
yDelouis
merged 5 commits into
androidannotations:develop
from
WonderCsabo:1402_RestServiceGeneric
Jun 10, 2015
Merged
Fix generic issues #1405
yDelouis
merged 5 commits into
androidannotations:develop
from
WonderCsabo:1402_RestServiceGeneric
Jun 10, 2015
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89d2a82 to
655f84a
Compare
655f84a to
13f1a27
Compare
Member
Author
|
I also generified the return type of Fragment arg builder methods. |
13f1a27 to
ad58857
Compare
Contributor
|
The generated class of public final class GenericClient_<T extends Object >
implements GenericClient
{
private String rootUrl;
private RestTemplate restTemplate;
public GenericClient_(Context context) {
rootUrl = "";
restTemplate = new RestTemplate();
restTemplate.getMessageConverters().clear();
restTemplate.getMessageConverters().add(new StringHttpMessageConverter());
}
}I think it should implement |
Member
Author
|
@yDelouis you are right. |
ad58857 to
5b8b9d4
Compare
Member
Author
|
Fixed and rebased to develop. |
Member
Author
|
@yDelouis can we merge this? |
Contributor
|
Is there some generic fragment, view and bean to see your changes ? |
Member
Author
|
|
Member
Author
|
There is a generic |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes generic issues raised in #1402 and #1403.