Hi,

I'm using eclipse 3.4/3.5 to compile a project. On my machine I get
compile errors related to the @Override tag when used with interfaces:

    Button btn = new Button();
    btn.setOnClickListener(new OnClickListener() {
        @Override // Compile error
        public void onClick(View v) {
        }
    );

The @Override tag gives a "must override a superclass method" (which
is ok by me), but how does this compile on other machines? I find
myself having to always remove these override tags when compiling
others' projects,

Thanks
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to