Skip to content

Releases: piruin/retrofit-dsl

Pagination

23 May 08:37
Compare
Choose a tag to compare
Pagination Pre-release
Pre-release
  • Added PagingAdapter Interface for create Page data from Response
  • GithubPagingAdapter for parsing GitHub API Link Header styles
  • Added always() for LazyDslCallback

1.1

16 May 07:51
Compare
Choose a tag to compare

Improve DslCallBack

  • add errorBody<T>(retrofit = RetrofitDsl.retrofit) for easily parse errorBody() by Retrofit's responseBodyConverter
  • added lateinit var call: Call<T> so library user can use it in dsl block if needed
  • closed onResponse() , onFailure() and onNotSuccess() 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

13 May 17:07
Compare
Choose a tag to compare
1.0
update editorconfig

1.0-SNAPSHOT

12 May 16:41
Compare
Choose a tag to compare
Small update