The Android Developer Challenge is back! Submit your idea before December 2.

Consumer

interface Consumer<T : Any!>
androidx.core.util.Consumer

Compat version of java.util.function.Consumer

Summary

Public methods

abstract Unit
accept(t: T)

Performs this operation on the given argument.

Public methods

accept

abstract fun accept(t: T): Unit

Performs this operation on the given argument.

Parameters
t T: the input argument