SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

PicasaAtomAndroidSample.java from tag 2.2.1-alpha doesn't seem to compile #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the steps to checkout SVN from the setup instructions. (Both Picasa & 
Buzz sample)
Buzz sample works fine.
2.  PicasaAtomAndroidSample - problem on two lines both onClick after @Override 
for onClick
Line 174 & 189

What is the expected output? What do you see instead?
Just works.

What version of the product are you using? On what operating system?

Mac OS 10.6.4
Eclipse Ganymede
ADT 0.9.7

API's = 7, min API =7

Please provide any additional information below.

I'm just getting into this, but since I haven't seen a note about it, I thought 
I'd report / ask, before I started trying to figure out what's wrong.

Original issue reported on code.google.com by lvogel on 25 Jun 2010 at 3:24

GoogleCodeExporter commented 9 years ago
The error is that the @Override line 174:
  -- implements android.content.DialogInterface.OnClick
  -- The method onClick(DialogInterface, int) of type new DialogInterface.OnClickListener(){} must override a superclass method.

Line 189:
  -- The method onClick(View) of type new View.OnClickListener(){} must override a superclass method
  -- implements android.view.View.OnClickListener.onClick

Original comment by lvogel on 25 Jun 2010 at 3:33

GoogleCodeExporter commented 9 years ago
Thanks for reporting the problem!
For now, please remove the @Override annotation and I think it should work 
correctly.

The fix has been committed to the version 2.3.0-alpha branch (not yet released).

Original comment by yanivin...@gmail.com on 28 Jun 2010 at 5:49