Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

class RequestQueue finish()的机制 mechnism #176

@panq-jack

Description

@panq-jack

void finish(Request<?> request) --> last line: mCacheQueue.addAll(waitingRequests);

how to understand this? why we transfer all requests in waitingRequests to cacheQueue this time
instead of put them to cacheQueue originally created? u know, both action can add the request to NetworkQueue if can't get desired cache;?

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