Top "Listener" questions

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

Android: Use a SWITCH statement with setOnClickListener/onClick for more than 1 button?

Let's say I have a few buttons in a LinearLayout, 2 of them are: mycards_button = ((Button)this.findViewById(R.id.…

android button listener
Can I have onScrollListener for a ScrollView?

I am using a HorizontalScrollView in a layout and I need to identify the user have reached the start and …

android listener scrollview
Remove an onclick listener

I have an object where the text cycles and displays status messages. When the messages change, I want the click …

android onclick textview listener
File changed listener in Java

I'd like to be notified when a file has been changed in the file system. I have found nothing but …

java file listener
Android - How to achieve setOnClickListener in Kotlin?

I wanted to know that how we set basic onClickListener in Kotlin for Android Development.

android listener kotlin
When to use valueChangeListener or f:ajax listener?

What's the difference between the following two pieces of code - with regards to listener placement? <h:selectOneMenu ...> &…

ajax jsf jsf-2 listener valuechangelistener
Android: RadioGroup - How to configure the event listener

From my understanding, to determine if a checkbox is "clicked" and find if it's checked or not, code such as …

android listener radio-group android-radiogroup android-radiobutton
How to implement a db listener in Java

I have a requirement where if a record is inserted in a db table , then automatically a java process needs …

java database listener
What's the difference between Event Listeners & Handlers in Java?

In general terms of java, there are listeners & handlers for events. I mean I use them unknowingly, just whichever …

java events listener handler
Custom event listener on Android app

I need to set up a simple event listener to refresh a ListView once in a while. The problem is …

android events event-handling listener addeventlistener