-
public interface SparseMergeable<T extends Object>Render-time resolver for themes where every field is optional. Pairs with the conventional pattern: every style property on the inner type is nullable, dark specifies only what differs, and ThemeSet.resolve returns a fully-populated theme by preferring the dark value and falling back to light.
Mirrors iOS
SparseMergeableprotocol.
-
-
Method Summary
Modifier and Type Method Description abstract TmergedOnto(T baseline)Merge overrides (this) onto a baseline. -
-
Method Detail
-
mergedOnto
abstract T mergedOnto(T baseline)
Merge overrides (this) onto a baseline. Implementations should prefer overrides' non-null values over baseline's.
-
-
-
-