项目作者: akhilesh0707

项目描述 :
Kamino star wars API integration
高级语言: Kotlin
项目地址: git://github.com/akhilesh0707/StarWarsKamino.git
创建时间: 2020-07-10T07:21:36Z
项目社区:https://github.com/akhilesh0707/StarWarsKamino

开源协议:

下载


Star Wars Kamino

Akhilesh StackOverflow
Akhilesh LinkedIn

Star War Kamino

Description

This app implemented using MVVM architecture, Jetpack component, Dagger 2, RxJava, Retrofit, Glide, It connects to the StarWars 2 Api and fetch planet information, planet resident, etc.

  1. First screen displaying Kamino planet information, on clicking of planet thumbnail showing zoomed image, on like click calling the liked api
  2. Second screen displaying the list of planet residents.
  3. Third screen displaying the specific resident detailed information.

Improvement Needed

  1. Use DataBinding
  2. Add more unit tests
  3. UI state saving
  4. UI improvement

Tech Stack

  • Dagger 2 - Used to provide dependency injection
  • Retrofit 2 - OkHttp3 - request/response API
  • Glide - for image loading.
  • RxJava 2 - reactive programming paradigm
  • LiveData - use LiveData to see UI update with data changes.
  • Fragment navigation - to navigate between screens
  • Robolectric - to write test cases for activity/fragment
  • Mockito and PowerMockito - to write test cases for ViewModel and Repository

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. Download/clone zip
  2. Extract the downloaded Zip
  3. Start android Studio, Close any existing project and navigate through import existing android project.

Prerequisites

Working Java instalation and Android Studio for devlopment.

Built With

Author

  • Akhilesh Patil - Stackoverflow profile - Stackoverflow profile
    1. *Linkedin profile* - [Linkedin profile](https://www.linkedin.com/in/akhilesh0707/)