AndroidBites | Implement LRU Caching into your Repository

AndroidBites | Implement LRU Caching into your Repository

ยท

1 min read

Hi Devs, Repository pattern is available in almost every codebase, people often design it pretty well but often miss out on the caching behavior from It and rely on retrofit caching or Live data for caching data or put on some hack in the android lifecycle to only get data once to save APIs calls.

follow up the following article and learn how to implement LRU cache in your repository in 5 easy steps.

carbon (3).png

see you on the other side ๐Ÿ˜ˆ

Happy Hacking!

Stalk Me ๐Ÿ‘€ :
LinkedIn | Medium | Twitter | StackOverflow | CodeWars | WorkX | Github | Instagram | Youtube