Question Locked

Event Handlers in Eclipse

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We're looking at Eclipse as a platform for developing Android apps and there is something that we seem to be missing.

In every other IDE I and my associates use (and every one I've used since about 1990), there is a way to create a function to handle an event from a UI object using a menu option like "Create event/Goto Event Handler/...." but neither of us can find it. How does one create an event handler that is automatically bound to a control in the Layout editor?

Can anyone assist?

Thanks

3 replies

by dogknees

Not quite. If I'm using another IDE, when I build an interface (using the graphical editor) I can then go to a code pane and select the object and an event from a list and the system inserts the boilerplate code for the selected event.

As far as I see in Eclipse, I have to manually enter these details. There doesn't appear to be any kind of link between the interface designer and the code editors.

This discussion is closed to new replies.