Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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:developandroidannotations/androidannotations:developfrom
ened:fix/1422ened/androidannotations:fix/1422Copy head branch name to clipboard
May 22, 2015
Merged

If ContextCompat is available, use it to resolve drawables#1424
WonderCsabo merged 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
ened:fix/1422ened/androidannotations:fix/1422Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.