zillow / openapi-tutorial-android

Android client for our OpenAPI tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zillow OpenAPI Tutorial

Phase 1 - Manual Code Creation:
SEE master branch

1. Create a basic android project with data/domain/presentation layers.  We will focus on the data layer here.  
2. Create network models off of the YAMLs in the contracts repo  
3. Create mappers between these network models and our domain models  
4. Create api interfaces that tell Retrofit how to communicate with our webservices  
5. Create a Retrofit client in our repository class, which implements our api interface definitions  
DONE  

Phase 2 - Code Generation:
SEE codegen branch
SEE contracts repo codegen branch

1. Create a basic android project with data/domain/presentation layers.  We will focus on the data layer here.  
2. Copy codegen jar from contracts repo (codegen branch)    
3. Create mappers between these network models and our domain models  
DONE  

Phase 3 - Reusable Objects + Code Generation:
SEE sharedcode branch
SEE contracts repo sharedcode branch

1. Create a basic android project with data/domain/presentation layers.  We will focus on the data layer here.  
2. Copy codegen jar from contracts repo (sharedcode branch)   
3. Create mappers between these network models and our domain models    
DONE  

About

Android client for our OpenAPI tutorial

License:Apache License 2.0


Languages

Language:Kotlin 100.0%