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

DrawReceiver

interface DrawReceiver : DensityScope
androidx.ui.core.DrawReceiver

Receiver scope for Draw lambda that allows ordering the child drawing between canvas operations. Most Draw calls don't accept children, but in some rare cases a Canvas should be modified for the children. DrawReceiver is the receiver scope for the onPaint to give access to drawChildren.

Summary

Public methods

abstract Unit

Causes child drawing operations to run during the onPaint lambda.

Inherited functions

Inherited extension functions

From androidx.ui.layout
Constraints

Creates the Constraints corresponding to the current DpConstraints.

DpConstraints

Creates the DpConstraints corresponding to the current Constraints.

Inherited properties

Public methods

drawChildren

abstract fun drawChildren(): Unit

Causes child drawing operations to run during the onPaint lambda.