FocusTraversalPolicyImpl

Created by Nicholas Eddy on 5/11/18.

Constructors

Link copied to clipboard
constructor(focusabilityChecker: FocusabilityChecker)

Functions

Link copied to clipboard
open override fun default(display: Display): View?
open override fun default(within: View): View?

Returns the item in a View that should receive focus by default.

Link copied to clipboard
open override fun first(display: Display): View?
open override fun first(within: View): View?

Returns the first item in a View that should receive focus.

Link copied to clipboard
open override fun last(display: Display): View?
open override fun last(within: View): View?

Returns the last item in a View that should receive focus.

Link copied to clipboard
open override fun next(display: Display, from: View?): View?
open override fun next(within: View, from: View?): View?

Returns the next item in a View based on the given View.

Link copied to clipboard
open override fun previous(display: Display, from: View?): View?
open override fun previous(within: View, from: View?): View?

Returns the previous item in a View based on the given View.