mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Add the ability to re-order sticker packs.
This commit is contained in:
@@ -127,6 +127,10 @@ public abstract class SectionedRecyclerViewAdapter<IdType, SectionImpl extends S
|
||||
return localPosition >= 0 && localPosition < size();
|
||||
}
|
||||
|
||||
public boolean isContent(int globalPosition) {
|
||||
return handles(globalPosition) && getViewType(globalPosition) == TYPE_CONTENT;
|
||||
}
|
||||
|
||||
public final int size() {
|
||||
if (getContentSize() == 0 && hasEmptyState()) {
|
||||
return 2;
|
||||
|
||||
Reference in New Issue
Block a user