Welcome to the Official ABL App
Kotlin and Android Development featuring Jetpack — by Michael Fazio (66 / 125)
👈 Chapter 8 Initialize the Android Baseball League App | TOC | Create the App 👉
The ABL app is a showcase for the league’s teams and players. Users can find the current games (and any games for the year), who’s leading the league in both batting and pitching categories, and the roster of any of the ABL’s fourteen teams. Users can even set up things like a favorite team and whether or not they want to style the app based on that team.
As I mentioned, most of the chapters here will start with something similar to what we did with Penny Drop but then add on from there. We’ll navigate via a menu (a navigation drawer here rather than a bottom nav), but then also see how to send data between destinations and how to create deep links. We’ll save data to a local database for access in our screens, but then we’ll also grab data from a web service to get up-to-date scoreboard data. We’ll display a list of players, but then see how Paging helps to handle a long list of players.
We’ll do most of the familiar setup within this chapter and do it quickly; I want to get you a working app as soon as possible without adding anything too new. We’ll create the app, add in our dependencies, set up a number of images (team logos, league logo) including the app’s logo, add some supporting types, and build out a screen.