Skip to content

Initial load takes ~10 seconds #38

@simondrabble

Description

@simondrabble

Not sure if this is related to the issue concerning disk access occurring on the main thread, or if I'm doing something wrong (though the image loader interface is so simple it's hard to figure out what).

I have a grid adapter that uses a cursor over the media gallery. Pass in images & views to imageloader.loadImage() as standard. The time between the loadImage method being called and an image displaying in the relevant view is ~10 seconds. If I pass a listener in to the method, sure enough it doesn't get called until 10 seconds after the loadImage() call. This only happens for an image loaded from disk - when loaded from memory, performance is as would be expected.

I can provide code if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions