zawadz88 / ExoPlayerAudioSample

A sample audio player app with ExoPlayer doing the heavy lifting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio player sample app

This is a sample project where I experimented with ExoPlayer

Libraries/architecture used

  • ExoPlayer 2
  • Hilt
  • Android Architecture Components
  • JUnit5

What's implemented?

  • Loading multiple media sources
  • Music playback with a system notification synchronised with playback actions
  • Error handling
  • Audio Service is in a separate Gradle module - the main module does not know anything about ExoPlayer nor the Service itself
  • sample JUnit5 unit & instrumentation tests

How does it look like?

TODOs

  • add a :core module and a feature module
  • Loading music list from an external source e.g. a Web Service via Kotlin coroutines

About

A sample audio player app with ExoPlayer doing the heavy lifting

License:MIT License


Languages

Language:Kotlin 96.1%Language:Java 3.9%