toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
handlers
/
com.hexagonkt.handlers
/
OnHandler
On
Handler
data
class
OnHandler
<
T
:
Any
>
(
val
predicate
:
(
Context
<
T
>
)
->
Boolean
=
{ true }
,
val
callback
:
(
Context
<
T
>
)
->
Context
<
T
>
)
:
Handler
<
T
>
Members
Constructors
On
Handler
Link copied to clipboard
constructor
(
predicate
:
(
Context
<
T
>
)
->
Boolean
=
{ true }
,
callback
:
(
Context
<
T
>
)
->
Context
<
T
>
)
Properties
callback
Link copied to clipboard
open
override
val
callback
:
(
Context
<
T
>
)
->
Context
<
T
>
predicate
Link copied to clipboard
open
override
val
predicate
:
(
Context
<
T
>
)
->
Boolean
Functions
process
Link copied to clipboard
open
override
fun
process
(
context
:
Context
<
T
>
)
:
Context
<
T
>