Skip to content

Latest commit

 

History

History
 
 

fuel-livedata

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

fuel-livedata

The LiveData extension package for Fuel.

Installation

You can download and install fuel-livedata with Maven and Gradle. The livedata package has the following dependencies:

implementation 'com.github.kittinunf.fuel:fuel:<latest-version>'
implementation 'com.github.kittinunf.fuel:fuel-livedata:<latest-version>'

Usage

See FuelLiveData.kt

LiveData Response

Fuel.get("www.example.com/get")
    .liveDataResponse()
    .observe(this) { /* do something */ }