Skip to content

Optimized project of previous GazteluBiraActivity repository following Android standards

Notifications You must be signed in to change notification settings

sgaleraalq/GazteluBira

Repository files navigation

Gaztelu Bira App

This is just an app that measures stats and matches played by a local team in Pamplona, Navarra (Spain).
The main purpose of the app is to gain experience using Android Studio in the Kotlin programming language.

Download

Go to the Releases to download the latest APK.

SCREENS

The app contains 4 main screens, each one with a different purpose

Screen 1

Main screen of the app. Shows a table containing each player with their respective stat:

  • Goals Goals
  • Assists Assists
  • Penalties Penalties produced
  • Clean sheet Clean sheet when playing as a defender/goal keeper
  • Games played Games played

If you press in any of the stats, it gets sorted from highest to lowest for that specific stat.

It also shows a card fifa-like of the highest percentage rated player. The percentage is just a sum of all the stats divided by the maximum possible value.

% = Goals + Assists + Penalty + Clean sheet/Games played

If user presses any of the players, a dialog of their specific stats will be shown.

Finally contains an admin button that makes you admin if you insert the correct password. Useful to insert games if needed.

Screen 2

Contains a Recycler View of all the games played by our team. If the match was won, it is shown in a green background color, if it was lost, it is shown in a red background color, and if it was a draw, it is shown in a yellow background color.

When you press in any of the matches, it redirects you to another activity which shows the specific information of that game. It contains the following information:

  • Result of the match
  • Goals and assists of each player
  • Starter team
  • Bench team

It also contains a button if you are logged as an admin to insert new games from mobile so you dont need to connect to firebase database.

--

Screen 3

Contains a Recycler View of all the players with their images. When you press in any of the players, it redirects you to another activity which shows the specific information of that player. It contains the following information:

  • Name
  • Position
  • Goals of the player
  • Assists of the player
  • Penalties produced by the player
  • Clean sheets of the player
  • Games played by the player

--

--

Screen 4

In this last screen, it contains a way of comparing one player to another. When user compares two players, they will get redirect to another screen that shows a small animation of the comparison. After a few seconds, a new activity will be shown where each player will appear with its respective stats along with a Radar Chart that shows the comparison of each stat.

It uses power spinners to represent each individual stat and Radar Chart to compare them.

--

--

--

--

--

Architecture

Tech stack & Open-source libraries

  • Minimum SDK level 24
  • Kotlin based, Coroutines + Flow for asynchronous.
  • ViewModel: Manages UI-related data holder and lifecycle aware. Allows data to survive configuration changes such as screen rotations.
  • DataBinding: Binds UI components in your layouts to data sources in your app using a declarative format rather than programmatically.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
  • Glide, GlidePalette: Loading images from network.
  • Firebase: Firebase is a platform developed by Google for creating mobile and web applications.
  • Navigation Component: Component that helps to implement navigation, from simple button clicks to more complex patterns, such as app bars and the navigation drawer.
  • Custom Views
    • ProgressView: A polished and flexible ProgressView, fully customizable with animations.
    • Radar Chart: A powerful & easy to use chart library for Android
    • Lottie Animation: Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

About

Optimized project of previous GazteluBiraActivity repository following Android standards

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages