Clean-Contacts icon indicating copy to clipboard operation
Clean-Contacts copied to clipboard

Cache strategy error

Open jrodriguezva opened this issue 9 years ago • 1 comments

When you call the method "Contact obtain(String md5)", you return null if the cache is invalid. This will throw an exception if you wait a while to navigate the MainActivity to DetailActivity, since there would be no data to display in the DetailActivity. I apologize for my basic level of English, I just speak Spanish.

jrodriguezva avatar Feb 20 '16 10:02 jrodriguezva

That is completely true, the aim of the repository was to demonstrate how to architect android and I was not focused and that kind of edge cases but yes, is a bug and must be solved

PaNaVTEC avatar Aug 18 '16 12:08 PaNaVTEC