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

If ContextCompat is available, use it to resolve drawables - #1424

Merged
WonderCsabo merged 1 commit into
androidannotations:developfrom
ened:fix/1422
May 22, 2015
Merged

WonderCsabo merged 1 commit into
androidannotations:developfrom
ened:fix/1422

Conversation

@ened

@ened ened commented May 21, 2015

Copy link
Copy Markdown
Contributor

Tries to fix #1422.

@WonderCsabo

Copy link
Copy Markdown
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

ened commented May 21, 2015

Copy link
Copy Markdown
Contributor Author

@WonderCsabo please take a look.

Copy link
Copy Markdown
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
Copy Markdown
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