Releases: piruin/retrofit-dsl
Releases · piruin/retrofit-dsl
Pagination
- Added
PagingAdapter
Interface for createPage
data fromResponse
GithubPagingAdapter
for parsing GitHub API Link Header styles- Added
always()
forLazyDslCallback
1.1
Improve DslCallBack
- add
errorBody<T>(retrofit = RetrofitDsl.retrofit)
for easily parseerrorBody()
by Retrofit'sresponseBodyConverter
- added
lateinit var call: Call<T>
so library user can use it indsl
block if needed - closed
onResponse()
,onFailure()
andonNotSuccess()
to modify - open all listener for extended class
Bounus
- readable Response's status code check such as
isCreated
,isNotFound
and more other common response return by RESTful API
1.0
1.0-SNAPSHOT
Small update