Skip to content

thatfiredev/firecoil

Repository files navigation

Build Status

firecoil

firecoil allows you to load images from Cloud Storage for Firebase in your Android app (through a StorageReference) , using the image loading library Coil.

Usage

Basic Usage

val storageRef: StorageReference = ...
val imageView: ImageView = ...

imageView.load(storageRef)

Custom Requests

val storageRef: StorageReference = ...
val imageView: ImageView = ...

imageView.load(storageRef) {
    crossfade(true)
    placeholder(R.id.placeholder)
}

See more usage options on the Documentation.

A sample app is also available for trying out firecoil.

Contributing

Anyone and everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgment

Inspired by FirebaseUI for Storage