Skip to content

Android:Files download(REST&URL), Files Cache(DiskCache), Avoid of OOM(AndroidThreadPool)

Notifications You must be signed in to change notification settings

IBeiBei/DownloadTool

Repository files navigation

DownloadTool

Integrate retrofit2, diskcache and androidThreadPool. Support REST & URL. Fix image OOM. Provide GalleryAdapter instance.

Project environment

Android Studio 2.3, Gradle 3.3

Dependency

com.jakewharton:disklrucache:2.0.2, com.squareup.retrofit2:retrofit:2.2.0, com.github.chrisbanes:PhotoView:1.3.1

Need custom class

ApiService:Should define REST api path base on real environment. BaseUrl:Should define url base on real environment.

Q&A

mingli0506@gmail.com

Design Sketch

image

About

Android:Files download(REST&URL), Files Cache(DiskCache), Avoid of OOM(AndroidThreadPool)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages