An Android app that lets you search Ticketmaster events by category and city, view event details, save favorites, and locate venues on a map.
-
Event Search
- Search by category (Music, Sports, Theater, etc.) and city.
- Results displayed in a
RecyclerView
with customCardView
layouts. - Persistent “last search” using SharedPreferences.
-
MVVM Architecture
EventsViewModel
handles network calls (Retrofit + Gson) and exposes LiveData.- Fragments observe the same ViewModel to share state (search results, selected venue).
-
Favorites
- Tap “Favorite” to save an event locally (Room database).
- Favorites tab shows all saved events.
- Toggle off to remove; database changes propagate via LiveData.
-
Map Integration
- “Find Venue” button opens a Google Map fragment.
- Marker placed & info window shown immediately.
- Coordinates passed via Navigation arguments or shared ViewModel.
-
Clone the repo
git clone https://github.com/yourusername/tickit.git cd TickIt
-
Add your Ticketmaster API key In
MainActivity.kt
, repalce:const val tmApiKey = ""
With your own key:
const val tmApiKey = "YOUR_API_KEY_HERE"
-
Add Google Maps API Key In
local.properties
, set theMAPS_API_KEY
variable:MAPS_API_KEY=YOUR_API_KEY_HERE