Lines Matching defs:listener
110 @Nullable OnRequireScrollStateChangedListener listener) {
111 mListener = listener;
115 * @return The scroll state listener previously set, or {@code null} if none is registered.
123 * and if scrolling is not required, delegates to the wrapped {@code listener}. Note that you
126 * @param listener The listener to be invoked when scrolling is not needed and the user taps on
127 * the button. If {@code null}, the click listener will be a no-op when scroll
130 * given listener depending on the current require-scroll state.
132 public OnClickListener createOnClickListener(@Nullable final OnClickListener listener) {
138 } else if (listener != null) {
139 listener.onClick(view);
180 * its link to the require-scroll mechanism. If you need to do that, obtain the click listener
188 * the text at the time of calling this method, and the click listener of it will
191 * @param onClickListener The listener for clicks when scrolling is not required.