Skip to content

This music player app uses modern Android technologies, including MVVM architecture, Room, Media3, and Hilt. The app allows users to fetch songs from their device, create playlists, play songs, add songs to playlists, and play music by albums and artists.

Notifications You must be signed in to change notification settings

devAchint/musicplayer

Repository files navigation

Music Player

This music player app uses modern Android technologies, including MVVM architecture, Room, Media3, and Hilt. The app allows users to fetch songs from their device, create playlists, play songs, add songs to playlists, and play music by albums and artists.

Features

  1. Uses Media3 for playing music.
  2. Implements dependency injection with Hilt.
  3. Utilizes Room to create playlists and save songs, avoiding the need to refetch from the device.
  4. Employs single activity architecture and MVVM.
  5. Allows users to add songs to playlists and play songs by playlist.
  6. Navigation using the Navigation Component.
  7. Includes sections for albums and artists.

Screenshot

songs playlist albums
artist playlist songs player

Package Structure

  • data: Contains Room database, models and repositories.
  • di: Hilt modules.
  • ui: UI layer of the app.
  • utils: Utility classes used across the app.

Build With

Kotlin: As the programming language.

Hilt : For injecting dependencies.

Media3 : For Media Player.

Room : To store Songs and Playlists.

Preferences DataStore : To store mini playback details.

Installation

Simple clone this app and open in Android Studio.

Project Status

The following features are yet to be implemented:

  1. Song and playlist options.
  2. Player shuffle and repeat.
  3. Marking songs as favorites.
  4. App icon.

About

This music player app uses modern Android technologies, including MVVM architecture, Room, Media3, and Hilt. The app allows users to fetch songs from their device, create playlists, play songs, add songs to playlists, and play music by albums and artists.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages