AndroidDeveloperLB / MaterialPreferenceLibrary

Allows to have an ActionBar on PreferenceActivity
Apache License 2.0
406 stars 69 forks source link

Entries in Settings are doubled #1

Closed rootingbill closed 10 years ago

rootingbill commented 10 years ago

Hi there,

great Library, thanks! But if i use it, all my Settings are doubled. This happens even if i use your demo. Could you take a closer look why this is happening? Thank you!

Greetings, Patrick

rootingbill commented 10 years ago

Okay, i found it myself. Dont use add addPreferencesFromResource(R.id), because you already done it in your MaterialPreferenceActivity via getPreferencesXmlId();.

AndroidDeveloperLB commented 10 years ago

Yes. You are supposed to do it via the abstract method On Oct 26, 2014 2:42 PM, "rootingbill" notifications@github.com wrote:

Okay, i found it myself. Dont use add addPreferencesFromResource(R.id), because you already done it in your MaterialPreferenceActivity via getPreferencesXmlId();.

— Reply to this email directly or view it on GitHub https://github.com/AndroidDeveloperLB/MaterialStuffLibrary/issues/1#issuecomment-60516111 .