All Projects → ikidou → Retrofit2demo

ikidou / Retrofit2demo

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Retrofit2demo

Phoenix For Vk
Yet another VK client for Android
Stars: ✭ 131 (-65.34%)
Mutual labels:  gradle, gson, retrofit2
Nice Knowledge System
📚不积跬步无以至千里,每天进步一点点,Passion,Self-regulation,Love and Share
Stars: ✭ 137 (-63.76%)
Mutual labels:  gradle, retrofit2
Swagger Gradle Codegen
💫 A Gradle Plugin to generate your networking code from Swagger
Stars: ✭ 330 (-12.7%)
Mutual labels:  gradle, retrofit2
Templeapp
Android App which handles the information about temple. People can register and keep a track of all poojas, donations made to the temple.
Stars: ✭ 231 (-38.89%)
Mutual labels:  gradle, retrofit2
S Mvp
🔥🔥优化版MVP,使用注解泛型简化代码编写,使用模块化协议方便维护,APT过程使用注解解析器利用JavaPoet🌝完成重复模块的编写,利用ASpect+GradlePlugin 完成横向AOP编程+Javassist动态字节码注入+Tinker实现热修复+Retrofit实现优雅网络操作+RxJava轻松玩转数据处理
Stars: ✭ 1,095 (+189.68%)
Mutual labels:  gradle, retrofit2
Gson Plugin
辅助 Gson 库的 gradle 插件,防止 Json 数据解析类型异常。
Stars: ✭ 133 (-64.81%)
Mutual labels:  gradle, gson
Acgn Community
A community app for news,animation,music and novels developed material design style.
Stars: ✭ 193 (-48.94%)
Mutual labels:  gradle, retrofit2
Redgram For Reddit
An Open-Sourced Android Reddit Client
Stars: ✭ 106 (-71.96%)
Mutual labels:  gson, retrofit2
MVVM-Demo
This demo for MVVM Design pattern for android
Stars: ✭ 20 (-94.71%)
Mutual labels:  gson, retrofit2
flickr-android
A small sample app to showcase architecting app using Clean Architecture and MVVM
Stars: ✭ 25 (-93.39%)
Mutual labels:  gson, retrofit2
SunnyBeach
阳光沙滩APP
Stars: ✭ 60 (-84.13%)
Mutual labels:  gson, retrofit2
Business Search App Java
Showcases object oriented programming in Java, Java Swing, Kotlin, and Android
Stars: ✭ 53 (-85.98%)
Mutual labels:  gradle, retrofit2
Weaponapp
一个尽量做到极致的集大成App,努力做到最好(开发阶段)——MVVM+Retrofit+RxJava+Small 插件化+单元测试+MD
Stars: ✭ 1,011 (+167.46%)
Mutual labels:  gradle, retrofit2
Bestnote
👊 持续更新,Java Android 近几年最全面的技术点以及面试题 供自己学习使用
Stars: ✭ 841 (+122.49%)
Mutual labels:  gradle, retrofit2
Dowy
🎬Application that displays a list of Movies and Tv Series using Modern Android Application Development tools and API's
Stars: ✭ 29 (-92.33%)
Mutual labels:  gson, retrofit2
Coolweather
Weather App that uses Android best practices. Android Jetpack, clean architecture. Written in Kotlin
Stars: ✭ 154 (-59.26%)
Mutual labels:  gradle, retrofit2
Todo
简洁清爽的Todo清单工具❤️ (MVP+okhttp3+retrofit+gson)
Stars: ✭ 93 (-75.4%)
Mutual labels:  gson, retrofit2
Mvpframes
整合大量主流开源项目并且可高度配置化的 Android MVP 快速集成框架,支持 AndroidX
Stars: ✭ 100 (-73.54%)
Mutual labels:  gson, retrofit2
BakingApp
Udacity Android Developer Nanodegree, project 2.
Stars: ✭ 54 (-85.71%)
Mutual labels:  gson, retrofit2
Compose-BreakingBad
🧪 ☠︎ Jetpack Compose - Breaking Bad ☢︎
Stars: ✭ 26 (-93.12%)
Mutual labels:  gson, retrofit2

Retrofit2Demo

关于Retrofit2的使用教程见我的博客 《你真的会用Retrofit2吗?Retrofit2完全教程》

Retrofit2 源码位置 client/src/main/java/com/github/ikidou/

配套 Server 运行方式:找到server/src/main/java/com/github/ikidou/RESTServer.java 直接右键运行即可

Android Studio 用户需要注意:

该项目中没有的配置文件,也不是Android项目,所以打开后可能会报错,请按下面的步骤解决:

  1. File -> Project Structure (Ctrl+Alt+Shift+S),并保证配置符合下图的要求后保存。
    项目设置1

  2. 打开右侧的Gradle面板,刷新项目依赖。
    项目设置2

解决 找不到或无法加载主类

  • Android Studio: 在运行之前先Build
  • Idea : 请按下图的配置修改(适用于所有标准Java Gradle项目)

IDEA 运行配置

License

Copyright 2016 ikidou

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.
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].