Skip to content

A simple app built using clean architecture.The app fetches data from disney API ad displays them.

Notifications You must be signed in to change notification settings

agesa3/Disney-Characters

Repository files navigation

Disney-Characters

Disney Character is an app that feches data from DisneyCharacters API.The App is meant to help in learning and improving my skills in building android app using Clean architecture.

Min Api Level : 21

Setup Requirements

  • Android device or emulator
  • Android Studio

Getting Started

In order to get the app running yourself, you need to:

  1. Clone this project
  2. Import the project into Android Studio
  3. Connect the android device with USB or just use your emulator
  4. In Android Studio, click on the "Run" button.

Libraries

Libraries used in the whole application are:

  • Kotlin - Kotlin is a programming language that can run on JVM. Google has announced Kotlin as one of its officially supported programming languages in Android Studio; and the Android community is migrating at a pace from Java to Kotlin

  • Android KTX-Android KTX is a set of Kotlin extensions that are included with Android Jetpack and other Android libraries. KTX extensions provide concise, idiomatic Kotlin to Jetpack, Android platform, and other APIs.

  • LifeCycle-Lifecycle-aware components perform actions in response to a change in the lifecycle status of another component, such as activities and fragments. These components help you produce better-organized, and often lighter-weight code, that is easier to maintain.

  • Shimmer-Shimmer is an Android library that provides an easy way to add a shimmer effect to any view in your Android app. It is useful as an unobtrusive loading indicator that was originally developed for Facebook Home.

  • MVVM - MVVM stands for Model, View, ViewModel. Model: This holds the data of the application. It cannot directly talk to the View. Generally, it's recommended to expose the data to the ViewModel through Observables.

  • Glide - Glide is an Image Loader Library for Android developed by bumptech and is a library that is recommended by Google. It has been used in many Google open source projects including Google I/O 2014 official application. It provides animated GIF support and handles image loading/caching.

  • Paging3-The Paging library helps you load and display pages of data from a larger dataset from local storage or over network. This approach allows your app to use both network bandwidth and system resources more efficiently.

  • Kotlin Coroutines - Coroutines are computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.

  • Kotlin Flows - In coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value.

  • Retrofit - In Android, Retrofit is a REST Client for Java and Android by Square inc under Apache 2.0 license. Its a simple network library that used for network transactions. By using this library we can seamlessly capture JSON response from web service/web API.

  • Dagger Hilt -Koin is a pragmatic and lightweight dependency injection framework for Kotlin developers.

Demo

About

A simple app built using clean architecture.The app fetches data from disney API ad displays them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages