All Projects → manojbhadane → EasyRetro

manojbhadane / EasyRetro

Licence: other
An Easy to use retrofit based network/api call extention for android

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to EasyRetro

Githubapp
A showcase app showing how to use PagingLibrary with Retrofit, Coroutines, Koin & Testing.
Stars: ✭ 124 (+675%)
Mutual labels:  retrofit, retrofit2
Retrofitutils
retrofit网络工具类
Stars: ✭ 188 (+1075%)
Mutual labels:  retrofit, retrofit2
Kotlinmvparchitecture
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!
Stars: ✭ 143 (+793.75%)
Mutual labels:  retrofit, retrofit2
Mvvmhabit
goldze: 本人喜欢尝试新的技术,以后发现有好用的东西,我将会在企业项目中实战,没有问题了就会把它引入到MVVMHabit中,一直维护着这套框架,谢谢各位朋友的支持。如果觉得这套框架不错的话,麻烦点个 star,你的支持则是我前进的动力!
Stars: ✭ 6,789 (+42331.25%)
Mutual labels:  retrofit, retrofit2
rxjava2 retrofit2
rxjava2+retrofit2 网络封装
Stars: ✭ 19 (+18.75%)
Mutual labels:  retrofit, retrofit2
Kotlin Coroutines Retrofit
Kotlin Coroutines await() extension for Retrofit Call
Stars: ✭ 812 (+4975%)
Mutual labels:  retrofit, retrofit2
Android Kotlin Mvi Cleanarchitecture
Android + Kotlin + Modularization + Gradle Depedency managment + Gradle written in Kotlin DSL + Custom Gradle Plugin + MVVM + MVI + Clean Architecture + Repository Pattern + Coroutines + Flows + Koin + Retrofit2 + ROOM + Kotlin-Android-Extension + KtLints
Stars: ✭ 187 (+1068.75%)
Mutual labels:  retrofit, retrofit2
Retrofiturlmanager
🔮 Let Retrofit support multiple baseUrl and can be change the baseUrl at runtime (以最简洁的 Api 让 Retrofit 同时支持多个 BaseUrl 以及动态改变 BaseUrl).
Stars: ✭ 1,961 (+12156.25%)
Mutual labels:  retrofit, retrofit2
WanAndroid
wanandroid的Kotlin版,采用Android X
Stars: ✭ 20 (+25%)
Mutual labels:  retrofit, retrofit2
StatefulLiveData
StatefulLiveData is a lean, yet powerful tool that harnesses the capabilities of LiveData and enhances them, enabling the observer to distinguish between different states the data can be in, such as Success, Loading and Error.
Stars: ✭ 18 (+12.5%)
Mutual labels:  retrofit, retrofit2
Easyhttp
Android 网络请求框架,简单易用,so easy
Stars: ✭ 423 (+2543.75%)
Mutual labels:  retrofit, retrofit2
RetrofitHelper
💪 RetrofitHelper是一个支持配置多个BaseUrl,支持动态改变BaseUrl,动态配置超时时长的Retrofit帮助类
Stars: ✭ 15 (-6.25%)
Mutual labels:  retrofit, retrofit2
tuya-connector
tuya-connector helps you efficiently create cloud development projects regarding the OpenAPI or message subscription capabilities. You can put all the focus on business logic without taking care of server-side programming nor relational databases.
Stars: ✭ 28 (+75%)
Mutual labels:  retrofit, retrofit2
Bigbang
Android base project used by Xmartlabs team
Stars: ✭ 47 (+193.75%)
Mutual labels:  retrofit, retrofit2
Offit
Simple but powerful API mocking library. Make mocks great again.
Stars: ✭ 25 (+56.25%)
Mutual labels:  webservice, retrofit
RxHttp
基于RxJava2+Retrofit+OkHttp4.x封装的网络请求类库,亮点多多,完美兼容MVVM(ViewModel,LiveData),天生支持网络请求和生命周期绑定,天生支持多BaseUrl,支持文件上传下载进度监听,支持断点下载,支持Glide和网络请求公用一个OkHttpClient⭐⭐⭐
Stars: ✭ 25 (+56.25%)
Mutual labels:  retrofit, retrofit2
uv-index
This is a work-in-progress (🔧️) ultraviolet index viewer app for demonstrating Instant Apps + Kotlin + Dagger + MVP
Stars: ✭ 64 (+300%)
Mutual labels:  retrofit, retrofit2
xsd-reader
Pure PHP XSD Reader (XML Schema)
Stars: ✭ 45 (+181.25%)
Mutual labels:  webservice
Chocolater
Chocolater is simply a PowerShell code generator and it was conceived in order to facilitate the selection and installation of your favorite applications in one go.
Stars: ✭ 26 (+62.5%)
Mutual labels:  easy-to-use
FindTaek
📦 내가 시킨 택배가 어디까지 왔는지 확인해보세요
Stars: ✭ 26 (+62.5%)
Mutual labels:  retrofit2

EasyRetro Tweet

An Easy to use retrofit based network/api call extention for android

  1. No need to check internet connection before api call
  2. Easy to use
  3. Minimal configuration
  4. More readble code

Specs

API

Donate

Download

This library is available in jitPack which is the default Maven repository used in Android Studio.

Gradle

Step 1. Add it in your root build.gradle at the end of repositories

allprojects 
{
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency in your apps module build.gradle

dependencies 
{
 	implementation 'com.github.manojbhadane:EasyRetro:v1.2'
}

Versions

Version Description
v1.2 RxJava support added

Usage

In Application class

 EasyRetro.init(getApplicationContext(),"BASE_URL");

Interfaces

public interface ApiService {

    @GET
    public Call<ResModel> test(@Url String url);

}

In Activity

ApiService apiService = EasyRetro.setServices(ApiService.class);

Call<ResModel> call = apiService.test("https://raw.githubusercontent.com/manojbhadane/Kotlin-LambdaExpression/master/sample.json");

EasyRetro.request(call, new ResponseListener<ResModel>() {
            @Override
            public void onResponse(ResModel model, Response response) {
                Toast.makeText(MainActivity.this, model.getData().getName(), Toast.LENGTH_SHORT).show();
            }

            @Override
            public void onError(String msg, Response response) {
                Toast.makeText(MainActivity.this, msg, Toast.LENGTH_SHORT).show();
            }
        });

Bugs or Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull request are also welcome.

Spread Some ❤️

GitHub followers Twitter Follow

About The Author

Manoj Bhadane

Android & Backend Developer.

If this library helps you in anyway, show your love ❤️ by putting a on this project ✌️

License

MIT License

Copyright (c) 2019 Manoj Bhadane

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].