Post

Building LeagueRanked: A kotlin app for tracking League of Legends ranks

LeagueRanked

LeagueRanked is an Android application developed in Kotlin that displays the solo and flex ranks of players from the popular game League of Legends. The app fetches rank data from an API and stores it locally, ensuring that it is always up-to-date. This project was created as a final assignment for a Kotlin app development class.

Features

  • Rank Display: View solo and flex ranks of League of Legends players.
  • Automatic Updates: The app automatically updates rank data by fetching from the API.
  • Local Storage: Player rank data is stored in a local database, ensuring quick access and offline functionality.

Tech Stack

  • Kotlin: The primary language used for app development.
  • RecyclerView: For displaying the player ranks in a list format.
  • Room: For local database management, storing rank data.
  • DataBinding: To bind UI components in your layouts to data sources in your app.
  • Moshi: For JSON parsing and serialization.
  • Lifecycle: To manage Android lifecycle-aware components.

Design Pattern

This app is built using the Model-View-Controller (MVC) design pattern, which separates the application’s concerns into different components, making the code more modular and easier to maintain.

Screenshots

Overview Screen Overview of player ranks.

Detail Screen Detailed view of a player’s rank.

Getting Started

To get a local copy of the project up and running, follow these steps:

  1. Clone the repository:
    1
    
    git clone https://github.com/ynk/LeagueRanked.git
    
  2. Open the project in Android Studio.
  3. Build and run the project on an emulator or physical device.

License

This project is open-source and available under the MIT License.

Acknowledgments

This app was developed as a final assignment for the Kotlin app development class. Special thanks to the course instructors and peers for their support and feedback.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

For more information, visit the repository.

This post is licensed under CC BY 4.0 by the author.