ResourcesScope
The receiver for KComponent methods which need to access resources and widgets like Row, Column, and Text. This class exposes the ability to access functions defined in Resources like stringRes/drawableRes etc.
Inheritors
Functions
Return a android.graphics.drawable.Drawable for a ColorInt value as a Drawable instance.
Retrieves a styled attribute value for provided {@param id}.
Returns the instance registered for the type T in this hierarchy, and null if no value was registered. Tree props are registered for a sub-hierarchy via TreePropProvider or com.facebook.litho.annotations.OnCreateTreeProp in the Spec API.
Returns the instance registered for the type T in this hierarchy, throws if no value was registered. Tree props are registered for a sub-hierarchy via TreePropProvider or com.facebook.litho.annotations.OnCreateTreeProp in the Spec API.
A layout component that stacks its children on top of each other. Each child is positioned absolutely within the container, allowing them to overlap.