heitaoa / android-unused-resources

Automatically exported from code.google.com/p/android-unused-resources
0 stars 0 forks source link

Unrecognized uses by androidannotations #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create a new view with an unused id, e.g., "@+id/popocatepetl".

2. Use @EActivity with any activity and declare therein

@ViewById View popocatepetl;

What is the expected output? What do you see instead?

The id gets reported as unused, but it's needed. It gets used from a file in 
.apt_generated.

The reason might be either that this directory gets ignored or the `import 
.....R.id;` allowing to write `findByView(id.popocatepetl)`. Anyway, the fix 
should be trivial.

Original issue reported on code.google.com by Maaarti...@gmail.com on 17 Sep 2012 at 9:33