Libmediaprovider-1.0 [patched]

As of version 1.0 r20, the library no longer requires LibStub . Developers should now access it directly via the global variable LibMediaProvider .

Perhaps the most frequent operation handled by this library is thumbnail creation. When you scroll through a RecyclerView of camera images, the Android system does not load the 12MP original files. Instead, libmediaprovider-1.0 ’s Thumbnailer class reads only the minimum necessary bytes from each file, decodes a reduced version, and caches it to disk. The -1.0 version standardized the algorithm for in-memory vs. disk thumbnail caching. libmediaprovider-1.0