useFineGrainedViewAttributesExtension
LithoViewAttributesExtension is an extension for LithoView that allows setting custom view attributes on the underlying Android View or Drawable. This extension plays a crucial role when working with Litho components because it enables the modification of view properties not already exposed by the Litho framework. The proper functioning of this extension is vital for maintaining correct component behavior during mount and unmount processes, especially when controlled by animations.
Prior to the introduction of com.facebook.litho.LithoViewAttributesExtension.FineGrainedLithoViewAttributesState, an existing bug caused view attributes not to be correctly reset upon unmount due to the lack of information in the view attributes state about the corresponding render unit. This issue arose primarily during animations that controlled the mount/unmount cycle.
This configuration aims then to allow you to enable the usage of com.facebook.litho.LithoViewAttributesExtension.FineGrainedLithoViewAttributesState to have a more reliable behavior. We are testing this currently to ensure there are no other performance regressions.