8000 If ContextCompat is available, use it to resolve drawables by ened · Pull Request #1424 · androidannotations/androidannotations · GitHub
[go: up one dir, main page]

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

Conversation

@ened
Copy link
Contributor
@ened ened commented May 21, 2015

Tries to fix #1422.

@WonderCsabo
Copy link
Member

Thanks! Can you squash the commits? Also please add two tests in a separate commit: one when ContextCompat is available and one when it is not. Then assert the generated code is correct. You can check out ActivityIntentFragmentTest for an example.

@ened
Copy link
Contributor Author
ened commented May 21, 2015

@WonderCsabo please take a look.

Copy link
Member

Choose a reason for hiding this comment

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

You can move this line to setUp from both test methods.

WonderCsabo added a commit that referenced this pull request May 22, 2015
If ContextCompat is available, use it to resolve drawables
@WonderCsabo WonderCsabo merged commit 1bdef3b into androidannotations:develop May 22, 2015
@WonderCsabo
Copy link
Member

Nice PR, thanks!

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.

Use ContextCompat to retrieve drawables

2 participants

0