You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a specific use-case where i need to override the key generation mechanism in HttpResponseCache.uriToKey
Since HttpResponseCache is a final class, it seems i cant extend it.
I want to access the same object using different urls, but they should correspond to the same object in the cache. Is there a way i can put my own hashing algorithm without cloning/forking the codebase? Or some other interface to provide a normalized url?
Both should use the same object in the cache, my app knows the logic to normalize both these URLs into something common for caching purposes.
Question: If I attempt to add this myself and send pull request, is there a possibility this would make it to the codebase here? i.e. is the goal of this library to be 100% clone of Androids implementation, or is there some scope to add features that Android's lib doesn't provide?
The text was updated successfully, but these errors were encountered:
I have a specific use-case where i need to override the key generation mechanism in HttpResponseCache.uriToKey
Since HttpResponseCache is a final class, it seems i cant extend it.
I want to access the same object using different urls, but they should correspond to the same object in the cache. Is there a way i can put my own hashing algorithm without cloning/forking the codebase? Or some other interface to provide a normalized url?
example:-
i access
http://foo.example.com/bar.png
http://bar.example.com/abc.png
Both should use the same object in the cache, my app knows the logic to normalize both these URLs into something common for caching purposes.
Question: If I attempt to add this myself and send pull request, is there a possibility this would make it to the codebase here? i.e. is the goal of this library to be 100% clone of Androids implementation, or is there some scope to add features that Android's lib doesn't provide?
The text was updated successfully, but these errors were encountered: