Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Consumer

public interface Consumer

androidx.core.util.Consumer<T>


Compat version of Consumer

Summary

Public methods

abstract void accept(T t)

Performs this operation on the given argument.

Public methods

accept

public abstract void accept (T t)

Performs this operation on the given argument.

Parameters
t T: the input argument