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.

Allow android.support{v7,v14} for @PreferenceXXX#1545

Merged
yDelouis merged 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
WonderCsabo:1535_supportV7PreferenceFragmentWonderCsabo/androidannotations:1535_supportV7PreferenceFragmentCopy head branch name to clipboard
Sep 20, 2015
Merged

Allow android.support{v7,v14} for @PreferenceXXX#1545
yDelouis merged 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
WonderCsabo:1535_supportV7PreferenceFragmentWonderCsabo/androidannotations:1535_supportV7PreferenceFragmentCopy head branch name to clipboard

Conversation

@WonderCsabo

Copy link
Copy Markdown
Member

Fixes #1535.

@WonderCsabo WonderCsabo force-pushed the 1535_supportV7PreferenceFragment branch from e790cfe to 335181e Compare September 11, 2015 22:13

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This code :

holder.usingSupportV7Preference() ? getClasses().SUPPORT_V7_PREFERENCE : getClasses().PREFERENCE;

is repeated at least three times in the code. Maybe we could add a method JClass getPreferenceClass() in HasPreferences.

@yDelouis

Copy link
Copy Markdown
Contributor

It is good, but has some duplicated code.

@WonderCsabo WonderCsabo force-pushed the 1535_supportV7PreferenceFragment branch from 335181e to 7d5e870 Compare September 19, 2015 21:19
@WonderCsabo

Copy link
Copy Markdown
Member Author

@yDelouis updated.

yDelouis added a commit that referenced this pull request Sep 20, 2015
…gment

Allow android.support{v7,v14} for @PreferenceXXX
@yDelouis yDelouis merged commit ecdd9b3 into androidannotations:develop Sep 20, 2015
@yDelouis

Copy link
Copy Markdown
Contributor

Thanks !

@WonderCsabo WonderCsabo deleted the 1535_supportV7PreferenceFragment branch September 20, 2015 11:50
@WonderCsabo WonderCsabo added this to the 4.0 milestone Sep 20, 2015
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.

2 participants

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