Git Product home page Git Product logo

firecoil's People

Contributors

samtstern avatar thatfiredev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

firecoil's Issues

Coil logger support

Ability to view the log information while processing the image. Currently it doesnot support it.

I had implemented ImageLoaderFactor in the Application Class with the following snippets:

return ImageLoader.Builder(this) .availableMemoryPercentage(0.25) // Use 25% of the application's available memory. .crossfade(true) // Show a short crossfade when loading images from network or disk. .componentRegistry { add(StorageReferenceFetcher()) } .apply { if (BuildConfig.DEBUG) { logger(DebugLogger(Log.VERBOSE)) } } .build()

Ok, never mind. just found out that you can have your own imager loader by using

    FireCoil.setDefaultImageLoader(newImageLoader())

Add support for diskcache

Hello,

For a project, I was trying to do the same thing as you but using Jetpack compose and the Composable AsyncImage from the Coil library.

Using your StorageReferenceFetcher and StorageReferenceKeyer classes and a custom ImageLoader is working correctly but your StorageReferenceFetcher does not support diskCache.

Reading the source code of the HttpUriFetcher class from the Coil library, in order to add diskcache support, we need to read and write into the diskcache into the fetch method.

But I cannot find a way to implement a working way to do that. Did you already did that? Thank your for your help :)

Bump coil version

I have issues using this library alongside Coil.
Request to bump coil version to 1.0.0-rc3

Not compatible with Compose

Firstly, thanks so much for creating this library. This is super useful and exactly what I was looking for to make handling StorageReferences and their subsequent retrieval of download URLs a breeze.

However, I've written a screen in Compose where I want to utilise this library and image loading. Typically you would do this:
Image(painter = rememberImagePainter(thumbnailUrl))

But passing a StorageReference to rememberImagePainter which is Coil's solution to loading images in Compose does not work. Are you planning to add support for Compose?

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.