AndroidBites | Implement LRU Caching into your Repository
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.
see you on the other side 😈
Follow me: LinkedIn : bit.ly/ch8n-linkdIn Medium : bit.ly/ch8n-medium Twitter: bit.ly/ch8n-twitter StackOverflow : bit.ly/ch8n-stackOflow CodeWars : bit.ly/ch8n-codewar Portfolio : bit.ly/ch8n-home Github : bit.ly/ch8n-git Instagram : bit.ly/ch8n-insta Youtube: bit.ly/ch8n-youtube