Skip to content

akhilesh0707/StarWarsKamino

Repository files navigation

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