Retrofit Commons

Retrofit commons is a library with a set of useful classes to help to developer to work with retrofit.

License

License

Categories

Categories

Retrofit Net HTTP Clients
GroupId

GroupId

com.raxdenstudios.commons
ArtifactId

ArtifactId

commons-retrofit
Last Version

Last Version

4.3.0
Release Date

Release Date

Type

Type

aar
Description

Description

Retrofit Commons
Retrofit commons is a library with a set of useful classes to help to developer to work with retrofit.
Project URL

Project URL

https://github.com/raxden/android-commons
Source Code Management

Source Code Management

https://github.com/raxden/android-commons/tree/master

Download commons-retrofit

How to add to project

<!-- https://jarcasting.com/artifacts/com.raxdenstudios.commons/commons-retrofit/ -->
<dependency>
    <groupId>com.raxdenstudios.commons</groupId>
    <artifactId>commons-retrofit</artifactId>
    <version>4.3.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.raxdenstudios.commons/commons-retrofit/
implementation 'com.raxdenstudios.commons:commons-retrofit:4.3.0'
// https://jarcasting.com/artifacts/com.raxdenstudios.commons/commons-retrofit/
implementation ("com.raxdenstudios.commons:commons-retrofit:4.3.0")
'com.raxdenstudios.commons:commons-retrofit:aar:4.3.0'
<dependency org="com.raxdenstudios.commons" name="commons-retrofit" rev="4.3.0">
  <artifact name="commons-retrofit" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.raxdenstudios.commons', module='commons-retrofit', version='4.3.0')
)
libraryDependencies += "com.raxdenstudios.commons" % "commons-retrofit" % "4.3.0"
[com.raxdenstudios.commons/commons-retrofit "4.3.0"]

Dependencies

compile (5)

Group / Artifact Type Version
com.raxdenstudios.commons : commons-kotlin jar 4.3.0
com.squareup.retrofit2 : retrofit jar 2.9.0
com.squareup.retrofit2 : converter-gson jar 2.9.0
com.github.haroldadmin » NetworkResponseAdapter jar 4.1.0
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.10

Project Modules

There are no modules declared in this project.

Android Commons

codecov Maven Central

Android Commons is a set of libraries that I have been creating and collecting throughout these years of development and that I use continuously in my new developments in order to avoid having to maintain the code in different sources.

With the purpose of avoiding having to depend on only one library, I decided to split the library in different modules since the user that needs only use some utils or extensions from Retrofit library don't need to download nothing related with the coroutines and vice-versa. That approach permits us to reduce the size of the application that we are developing.

Getting started

Setting up the dependency that you requires.

implementation "com.raxdenstudios:commons-android:x.y.z"
implementation "com.raxdenstudios:commons-coroutines:x.y.z"
implementation "com.raxdenstudios:commons-threeten:x.y.z"
implementation "com.raxdenstudios:commons-glide:x.y.z"
implementation "com.raxdenstudios:commons-pagination:x.y.z"
implementation "com.raxdenstudios:commons-pagination-rx:x.y.z"
implementation "com.raxdenstudios:commons-preferences:x.y.z"
implementation "com.raxdenstudios:commons-retrofit:x.y.z"
implementation "com.raxdenstudios:commons-retrofit-rx:x.y.z"
implementation "com.raxdenstudios:commons-rx:x.y.z"
implementation "com.raxdenstudios:commons-unit-test:x.y.z"
implementation "com.raxdenstudios:commons-android-test:x.y.z"

Please replace x, y and z with the latest version numbers -> Maven Central

LICENSE

Copyright 2015 Ángel Gómez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
4.3.0