Last updated 5 years ago
Was this helpful?
The LiveData extension package for Fuel.
LiveData
Fuel
You can and install fuel-livedata with Maven and Gradle. The livedata package has the following dependencies:
fuel-livedata
Maven
Gradle
: 2.0.0
implementation 'com.github.kittinunf.fuel:fuel:<latest-version>' implementation 'com.github.kittinunf.fuel:fuel-livedata:<latest-version>'
See FuelLiveData.kt
FuelLiveData.kt
Fuel supports
Fuel.get("www.example.com/get") .liveDataResponse() .observe(this) { /* do something */ }