traex / ExpandableLayout

Implementation of ExpandableListview with custom header and custom content.
MIT License
1.64k stars 361 forks source link

name headerLayout is generic and may conflict with navigation drawer implementation #33

Closed swolfand closed 8 years ago

swolfand commented 9 years ago

at least a few people have had the issue where they use a headerLayout as the name for the navigation drawer header layout, which causes generated build files to have conflicts here is one other example on stackoverflow I would suggest changing the name to something like fixedHeaderLayout for example

HectorFGarcia commented 9 years ago

I have that exact problem with this lib, I can't use it because I have an "Attribute "headerLayout" has already been defined" error.

vaibhavgupta commented 9 years ago

Any update on this issue ?

vaibhavgupta commented 9 years ago

Hi the attributes names were changed to avoid collision in the library.

https://github.com/traex/ExpandableLayout/blob/master/library/src/main/res/values/attrs.xml

Its not published on the maven central i guess, because when i used that it didn't work.

jameltheone commented 9 years ago

The solution is quite easy, just use the below dependencie instead of the one shown in the readme:

compile 'com.github.traex.expandablelayout:library:1.3'

sheat2500 commented 9 years ago

This kills me 2 hours...I should always check the issue section first. . Thank you guys..

kscMaster commented 8 years ago

I did what you meant, but it happened. Error:No such property: GROUP for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer

did you meet this problem?

swolfand commented 8 years ago

This has been fixed in the latest version