You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a RecyclerCollectionComponent with children, set the first item to EmptyComponent, or set its height to 0F, then try pulling down to refresh. it won't work.
Expected Behavior
Pulling down should work fine and a refresh indicator should appear.
Link to Code
CardGroupSpec.java:
@GroupSectionSpecclassCardGroupSpec {
@OnCreateChildrenstaticChildrenOnCreateChildren(SectionContextc) {
Children.Builderbuilder = Children.create();
for (inti = 0; i < 8; i++) {
Componentcomponent = CardItem.create(c).build();
//Uncomment this line to reproduce the bug// if (i == 0) {// component = EmptyComponent.create(c).build(); //Also works with Text.create(c).heightDip(0f).build();// }builder.child(
SingleComponentSection
.create(c)
.component(component)
);
}
returnbuilder.build();
}
}
Version
Issues and Steps to Reproduce
Create a RecyclerCollectionComponent with children, set the first item to EmptyComponent, or set its height to 0F, then try pulling down to refresh. it won't work.
Expected Behavior
Pulling down should work fine and a refresh indicator should appear.
Link to Code
CardGroupSpec.java:
CardItemSpec.java:
LithoActivity.java:
The text was updated successfully, but these errors were encountered: