java.lang.LinkageError: com.facebook.litho.sections.widget.RecyclerCollectionComponent
When using litho RecyclerCollectionComponent
RecyclerCollectionComponent component = RecyclerCollectionComponent.create(c).section(
section
).setRootAsync(false).disablePTR(true).build();
After wasting a couple of days I found out this is due to a bug in litho framework, I solved it by using an older version of Litho.
try using