Closed full-of-foo closed 10 years ago
Well, actually in AA you can do both, either by name or by id. I prefer by id since it will better support refactoring. I also know for sure that resName has been introduced in AA for library project especially.
@jeremiemartinez Hmmm strange, I am indeed seeing now that both are supported. When I initially generated my project (using the default Eclipse generation rather than Mvn or Gradle) I did the following:
However, since your reply and after attempting to change the annotation back to "@EActivity(R.layout.activity_main)" it now simply works!?
I'm sure this can be closed but it may be worth keeping around incase others encounter a similar issue? :smiley:
Sure thing. @a-thomas ?
We will close this issue and re-open a new one if somebody else encounters this problem. Thanks guys for the feedback
:+1: Thanks guys
Current generated main activity annotation is:
@EActivity(R.layout.activity_main)
As per the following, https://github.com/excilys/androidannotations/wiki/Library-projects ,it should be:
@EActivity(resName="activity_main")