Top "Listener" questions

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

Picasso Library, Android: Using Error Listener

I'm playing around with the Picasso library for image loading, but I'm running into an issue. When an image fails …

android listener
Android ExoPlayer onProgressChanged

How can I monitor progress changes on ExoPlayer? I tried to implement a hidden MediaController and overriding setOnSeekBarChangeListener methods, but …

android listener progress exoplayer
How to capture System.exit event?

I have an application in java, in which i try to ensure that the if anybody exits codes System.exit() …

java listener
JavaFX TabPane: How to listen to selection changes

I want to do some actions when user goes from one tab to another, since i made my form design …

java javafx listener propertychangelistener
JSF 2 - How can I add an Ajax listener method to composite component interface?

I have a JSF 2 composite component that employs some Ajax behavior. I want to add a listener method to the &…

java ajax jsf-2 listener composite-component
KeyListener in Textfield not firing when press enter

I'm trying to make a program that can converts fahrenheit to celcius in java. In program i have 2 Labels and 1 …

java swing awt listener keylistener
Set Checkbox to Checked with JavaScript after page Load

I've got a small challenge in trying to set this checkbox element on my page to checked, after the page …

javascript html checkbox listener onload
Remove event listener in JavaScript

I add an event listener to an element: /* sitepoint.com/javascript-this-event-handlers */ function AttachEvent(element, type, handler){ if (element.addEventListener){ element.…

javascript listener event-listener
How can I distinguish whether Switch,Checkbox Value is changed by user or programmatically (including by retention)?

setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { // How to check whether the checkbox/switch has been …

android checkbox listener onchange