Attaching the same listener multiple times is a noop from the second time on.
All methods for the listener are run using the provided Executor. It is common to pass in a single-threaded executor so that you can be certain that listener methods are called in sequence, but if you are fine with them being called out of order you are welcome to use multiple threads.
@param listener the listener to attach
|
|
|
|
|
|
|
|