Closed NicolasSiver closed 6 years ago
Easy fix:
@Override
public Object getItem(int position) throws ArrayIndexOutOfBoundsException {
return mDelegate.getItem(position);
}
The fix you suggest is to modify the getItem in StickyGridHeadersBaseAdapterWrapper, right? Or can you override it from somewhere else?
Works incorrectly. In most cases it returns null, because code assumes it's a header. Check 328 line code in StickyGridHeadersBaseAdapterWrapper. Code will return Header type for zero position.