Package icyllis.modernui.view

# Interface View.OnFocusChangeListener

Enclosing class:
  `View`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface View.OnFocusChangeListener
Interface definition for a callback to be invoked when the focus state of a view changed.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onFocusChange(View v, boolean hasFocus)`
  Called when the focus state of a view has changed.

- ## Method Details

  - ### onFocusChange

    void onFocusChange(View v, boolean hasFocus)
    Called when the focus state of a view has changed.
    Parameters:
      `v` - The view whose state has changed.
      `hasFocus` - The new focus state of v.