Top "Listener" questions

An object that reacts to an event that it is 'listening' for.

Implement multiple event listeners in the same fragment - Android

I have a fragment which consists of a spinner and a button. You select one of four options with the …

android interface event-handling listener android-spinner
Get back key event on EditText

How can I handle the event of pressing back key while typing on an EditText? When the virtual keyboard is …

android listener android-edittext
OnCompletion listener with MediaPlayer

How do i use the OnCompletion listener for some music? I would like to press a button to go to …

android media-player listener
Spring security: adding "On successful login event listener"

I'm new to Spring Security. How do I add an event listener which will be called as a user logs …

login spring-security listener
How to use interface to communicate between two activities

I am trying to make listener interface between two activities Act1 and Act2. Act1 will start Act2. If there is …

java android interface android-activity listener
How to add a tooltip to a cell in a jtable?

I have a table where each row represents a picture. In the column Path I store its absolute path. The …

java swing jtable tooltip listener
android: Softkeyboard perform action when Done key is pressed

I have an EditText. I want that after typing some text, when user presses the Done key of the softkeyboard, …

android key listener android-softkeyboard
force javascript EventListener to execute once?

I'm wondering is it possible for force a javascript event listener to, without the condition being true force it to …

javascript listener addeventlistener
Add listener to ArrayList

I have an ArrayList which I add some Objects to it dynamically, and I have a JButton. The ArrayList is …

java arraylist listener
What is the best way to listen for changes in JTable cell values and update database accordingly?

I'm building and app with multiple JTables and I need to detect when cell value change occurs so I can …

java swing jtable listener tablemodel