mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Use smarter scrolling for group story replies.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user