Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thatfiredev/firecoil
🔥🖼 Display images stored in Cloud Storage for Firebase using Coil
https://github.com/thatfiredev/firecoil
Last synced: about 9 hours ago
JSON representation
🔥🖼 Display images stored in Cloud Storage for Firebase using Coil
- Host: GitHub
- URL: https://github.com/thatfiredev/firecoil
- Owner: thatfiredev
- License: mit
- Created: 2020-02-07T12:58:32.000Z (almost 5 years ago)
- Default Branch: develop
- Last Pushed: 2022-04-11T22:25:18.000Z (over 2 years ago)
- Last Synced: 2024-05-19T04:51:15.572Z (6 months ago)
- Language: Kotlin
- Homepage: https://firebaseopensource.com/projects/rosariopfernandes/firecoil/
- Size: 202 KB
- Stars: 44
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-firebase - Firecoil - 이미지 로딩 라이브러리 Coil을 사용하여 Android 앱의 GCS에서 이미지를 로드할 수 있는 라이브러리입니다. (모바일 / Android)
README
[![Build Status](https://travis-ci.org/rosariopfernandes/firecoil.svg?branch=master)](https://travis-ci.org/rosariopfernandes/firecoil)
[![](https://jitpack.io/v/rosariopfernandes/firecoil.svg)](https://jitpack.io/#rosariopfernandes/firecoil)# firecoil
firecoil allows you to load images from [Cloud Storage for Firebase](https://firebase.google.com/docs/storage/)
in your Android app
(through a [StorageReference](https://firebase.google.com/docs/reference/android/com/google/firebase/storage/StorageReference))
, using the image loading library [Coil](https://github.com/coil-kt/coil).# Usage
## Basic Usage
```kotlin
val storageRef: StorageReference = ...
val imageView: ImageView = ...imageView.load(storageRef)
```## Custom Requests
```kotlin
val storageRef: StorageReference = ...
val imageView: ImageView = ...imageView.load(storageRef) {
crossfade(true)
placeholder(R.id.placeholder)
}
```See more usage options on the [Documentation](https://firebaseopensource.com/projects/rosariopfernandes/firecoil/docs/getting_started.md/).
A [sample app](https://github.com/rosariopfernandes/firecoil/tree/master/sampleapp) is also available for trying out firecoil.
# Contributing
Anyone and everyone is welcome to contribute. Please take a moment to
review the [contributing guidelines](CONTRIBUTING.md).# License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details# Acknowledgment
Inspired by [FirebaseUI for Storage](https://github.com/firebase/FirebaseUI-Android/tree/master/storage)