UdhayaBalaji / androidannotations

Automatically exported from code.google.com/p/androidannotations
0 stars 0 forks source link

Disable warning on @EActivity when the activity is abstract #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Here is a simple example :

@EActivity
public abstract class ActionBarHomeActivity extends ActionBarActivity {

    @OptionsItem
    public void homeSelected() {
        HomeHelper.backToHome(this);
    }

}

AndroidAnnotations currently adds a warning on @EActivity, which says :
The activity ActionBarHomeActivity_ is not registered in the 
AndroidManifest.xml file.   

This warning should not be issued when the activity is abstract (because it 
will never be registered)

Original issue reported on code.google.com by py.ricau on 27 Nov 2011 at 7:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I've commited a fix for that issue.

See change here : 
http://code.google.com/p/androidannotations/source/detail?r=ba7202eb4da54d503fbc
98da895df52300094f6d&name=i137_DisableWarn

Original comment by mat.boni...@gmail.com on 30 Nov 2011 at 7:41

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 83b19d08c2d7.

Original comment by py.ricau on 1 Dec 2011 at 2:49