thatfiredev / firecoil Goto Github PK
View Code? Open in Web Editor NEW๐ฅ๐ผ Display images stored in Cloud Storage for Firebase using Coil
Home Page: https://firebaseopensource.com/projects/rosariopfernandes/firecoil/
License: MIT License
๐ฅ๐ผ Display images stored in Cloud Storage for Firebase using Coil
Home Page: https://firebaseopensource.com/projects/rosariopfernandes/firecoil/
License: MIT License
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())
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 :)
I have issues using this library alongside Coil.
Request to bump coil version to 1.0.0-rc3
Firstly, thanks so much for creating this library. This is super useful and exactly what I was looking for to make handling StorageReference
s 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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.