Skip to content

index = -2147483648 #205

@dsencheng

Description

@dsencheng

NSInteger positionToLoad;

            GMGridViewCell *cell = [self newItemSubViewForPosition:positionToLoad];
            [self addSubview:cell];

===========Whether should change to this?==============
NSInteger positionToLoad = 0;

            GMGridViewCell *cell = [self newItemSubViewForPosition:positionToLoad < 0 ? 0 : positionToLoad];
            [self addSubview:cell];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions