How would you implement a custom Least Recently Used (LRU) Cache for storing images or network responses on a mobile device?