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

Conversation

@WonderCsabo
Copy link
Member

Fixes #1535.

@WonderCsabo WonderCsabo force-pushed the 1535_supportV7PreferenceFragment branch from e790cfe to 335181e Compare September 11, 2015 22:13
Copy link
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
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
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
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