Use smarter scrolling for group story replies.

This commit is contained in:
Cody Henthorne
2022-04-05 14:27:31 -04:00
parent 73f32868a2
commit 1746f37276
3 changed files with 28 additions and 8 deletions

View File

@@ -55,6 +55,10 @@ public class PagingMappingAdapter<Key> extends MappingAdapter {
throw new AssertionError("No view holder factory for type: " + item.getClass());
}
public boolean hasItem(int position) {
return getItem(position) != null;
}
private static class Placeholder implements MappingModel<Placeholder> {
@Override
public boolean areItemsTheSame(@NonNull Placeholder newItem) {