Colin White

Results 157 comments of Colin White

I'd be surprised if Google implements this in AndroidX since it seems out of scope (androidx also disallows using native libraries), but it's worth submitting a ticket. It's also not...

Yep, this is currently not implemented. Coil will automatically force reading from the disk cache if you're offline, but it won't restart a request when you come back online.

@ElNuru247 I think this could be implemented, though it's low priority. I've shied away from adding it so far as I'm not sure how much complexity it would add to...

@PeterTheOne That adds support for decoding individual video frames.

Still figuring out a good public API for this, but if you need this today you can force retry by changing a parameter: ```kotlin var retryHash by remember { mutableStateOf(0)...

Yep, adding a method to `ImagePainter` might be ok (and more discoverable), though I think it might not work well with the new [`AsyncImage`](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md#200-alpha04---november-22-2021) component that'll be added in Coil...

No immediate plans for adding this (currently focused on making sure `AsyncImage` is solid), though it'll likely be in the final 2.0 release or 2.1.

You should use delegation for this use case. `HttpUriFetcher` is internal so the arguments it accepts can easily be changed in the future to add new functionality. Using delegation instead...

I agree, having a `coil-fakeimageloader` artifact (or similar) would be useful. I've been a bit cautious to add a 1st party artifact for it since it would require ongoing support...

@yschimke Took an initial stab at this [here](https://github.com/coil-kt/coil/pull/1451). It's not finished, but let me know if you have any feedback!