- I wonder how your code compiles at all with LinkedHashMap.Entry not being visible at all (Map.Entry is).
- LinkedHashMap can hold null keys and values so that can't be the reason for the NPE
- I made a quick test and "my" cache with limited size works without issues
- Unless you provide at least the line of code that fails I can't help any further
Cheers
Emanuel Moecklin
Emanuel Moecklin
1gravity LLC
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment