Skip to content

Sample League of Legend application based on MVVM architecture (compose, viewModel, stateFlow, repository, coroutines, dagger-Hilt)

License

Notifications You must be signed in to change notification settings

pachuho/League-of-Legend

Repository files navigation

logo


kotlin api api

This Android demo application provides detailed information about League of Legends champions using the Riot Games API. It is built with MVVM architecture, Jetpack Compose, and StateFlow.


⚡️ Download

click here


🔍 Architecture Overview

architecture

This project only uses api without local DB.


💡 Stack & Libraries

  • Minimum SDK level 24

  • Target SDK level 35

  • Base on Kotlin + Coroutines

  • Compose - modern toolkit for building native UI

  • Lifecycle - help you produce better-organized, and often lighter-weight code, that is easier to maintain.

  • Dagger-Hilt - dependency injection.

  • Retrofit2 - REST APIs.

  • OkHttp3 - implementing interceptor, logging for API.

  • Glide - loading images.

  • Moshi - modern JSON library for Android.


📷 Screenshots


✨ API

Data Dragon - Riot Developer Portal


⭐ Is this project useful?

Support it by joining stargazers for this repository


📝 License

Copyright 2024 Juho Park

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.