Class and Description |
---|
com.facebook.litho.internal.ArraySet
This collection uses SimpleArrayMap as backing array which static cache can be
corrupted when used in multi-threaded environment. When static cache gets corrupted, next
time instance is used it can crash with ClassCastException even if that instance is thread
confined.
|
com.facebook.litho.widget.EditText |
com.facebook.litho.TestComponent
Use ComponentAssert APIs instead. Because this isn't generated with codegen, it can
have subtle issues in tests.
|
com.facebook.litho.testing.TestDrawableComponent
Use MountSpecLifecycleTester if lifecycle assertions are needed or
SimpleMountSpecTester if not.
|
com.facebook.litho.TestLayoutState
Only to be used with the deprecated
ComponentTestHelper |
com.facebook.litho.ViewCompatComponent
ViewCompatComponent is not efficient as it will do measurement of views twice.
Recommended way now is to use either ViewRenderInfo (which utilizes same interfaces as this
class: ViewCreator and ViewBinder) if the view is used with sections API or create a custom
MountSpec.
|
Annotation Type Element and Description |
---|
com.facebook.litho.annotations.ShouldUpdate.onMount
this param is ignored. MountSpecs with pureRender will now always check
shouldUpdate on the main thread if the information from layout isn't able to be used.
|