sockeqwe / AnnotatedAdapter

Write less code with AnnotatedAdapter, an annotation processor for generating RecyclerView and AbsListView adapters
http://hannesdorfmann.com/android/AnnotatedAdapter/
Apache License 2.0
195 stars 31 forks source link

Don't generate duplicated ViewHolders on Adapter inheritance #6

Closed sockeqwe closed 9 years ago

sockeqwe commented 9 years ago

If you have a FooAdapter class containing @ViewType fields the ViewHolder classes are generated for FooAdapter. If you create a second adapter class FooAdapter2 extends FooAdapter then FooAdapter2 will also generate ViewHolders that have already been generated for the base class (in another package).