Alexandru Coman
Alexandru Coman

Reputation: 165

Head First Android Development - RSS Feed

I'm trying to learn Android and I downloaded a book named "Head First Android Development".

At some page I need to do a RSS Feed App using SAX.

This is my IotdHandler.java file: https://code.google.com/p/headfirstandroid/source/browse/trunk/HFA_Chapter_6/src/com/headfirstlabs/ch06/nasa/iotd/IotdHandler.java?r=6

And I get an error saying "can't resolve symbol "IotdHandlerListener" ".

Any idea why?

Upvotes: 2

Views: 1003

Answers (2)

user239321
user239321

Reputation: 57

Here's the code for IotdHandlerListener:

/**
 * IotdHandlerListener
 * 
 *  @author Geroen Joris - http://www.headfirstandroid.com/
 * 
 */

public interface IotdHandlerListener {

        public void iotdParsed(String url, String title, String description, String date);

}

Upvotes: 0

Pararth
Pararth

Reputation: 8134

There must be a listener class/interface defined as IotdHandlerListener.

Couldn't see that in imports. The IotdHandler cannot identify it from where it is declared.

Either you need to define/code it or import it, if already exists.

In using Eclipse, press Ctrl+Shift+O to automatically arrange your imports.

Upvotes: 1

Related Questions