Maps Activity Code

Introduction


This app was made to make it easier to keep track of video games you have completed and was the first solo project in Android Studio I have done


Fragments


There are 3 fragments for different pages inside the app: Home, Search, and Profile. Uses a bottomNavigationView to easily switch between the 3.


Home Fragment


The main fragment "Home" lists 5 hard-coded games in a Recycler View. Each item in the list has the games's title and an image to represent it. The user is able to scroll down the list as well.

Home Fragment app

Item Click


Each item on the home screen has an on-click event that opens up a new activity with more information on that specific game. The game's data is held in a "game" class, and when clicked, that information is passed to the new activity. The new page also includes a button to add the game to the user's personal list