Colin White

Results 154 comments of Colin White

I don’t think we can rely on the first two characters of the file name being unique for the directory’s name. Also I’d check out Okio’s FileSystem and ForwardingFileSystem. DiskCache...

@kroussevrb I'm not able to reproduce the issue you described with the repro app. Here's a video of me scrolling through several images from my gallery on my test Pixel...

@kroussevrb Do you have the stack trace? I tested the app on a much larger photo gallery and wasn't able to reproduce the issue.

@kroussevrb `InterruptedIOException` is expected as it's thrown when an image load is cancelled while we're reading the data from an `InputStream`. It sounds like the stream isn't interrupting promptly when...

Closing this out as I haven't been able to reproduce the issue in my testing. This issue might be related to client code or it could be device specific.

@kroussevrb Coil accepts pull requests. If you're able to reproduce the issue, it would be helpful to submit a fix. As I mentioned the green field project worked without issue...

Thanks! I've thought about adding a `placeholder(data)` method, however have shied away from it so far. Adding it would create more work on the main thread, which could reduce performance....

Ah I see what you mean. This would add a decent chunk of complexity to `RealImageLoader` so I'm not sure I'd want to add this in. However, you could create...

It's not possible to support this for generic file types - only JPEGs that have been specially encoded for progressive decoding can do this. Android doesn't support progressive JPEGs so...

Hmm I'd like to keep Coil and any extension libraries 100% Kotlin code (and no native code) since it can greatly increase APK size. If it's only possible with native...