Closed pboos closed 11 years ago
@pboos: I've started using IntelliJ, hence the lack of obvious Lint. It's still my fault for not testing on a Gingerbread device like I usually do.
@chrisbanes That is what I guessed. I switched to IntelliJ as well. Got lint running through maven, but have it reporting some TargetApi mistakes, even though I added @TargetApi correctly. Might be because of scala though.
https://github.com/chrisbanes/Android-BitmapCache/blob/master/library/src/uk/co/senab/bitmapcache/CacheableBitmapDrawable.java#L167
This line fails with:
I guess you will have to intercept the setCallback method and store the callback yourself. Too bad setCallback is API 1 and getCallback is API 11. Confusing mistake by google.
Btw. You do not run lint to check against such errors?