Music Player in Jetpack Compose with Media3 Exoplayer

Dawinder Singh Gill
13 min readJun 30, 2023

If you want to check directly the project before continuing to read the introduction, you can do by accessing the following link:

Introduction

Welcome to an exploration of my recent open-source project: a Music Player designed with Jetpack Compose and the Media3 Exoplayer. This project represents a commitment to best coding practices, focusing on clean, maintainable code and an engaging user experience.

Jetpack Compose, Google's modern, declarative UI toolkit, was used to create a user-friendly and interactive interface. The Media3 Exoplayer provided robust and extensible media playback functionality, ensuring smooth audio handling.

Behind the scenes, I employed the buildSrc approach in conjunction with Kotlin DSL for centralizing project dependencies. This streamlined the build system, simplifying dependency management.

In the following sections, I’ll delve deeper into these areas, sharing experiences, challenges, and key learnings from this project. Whether you’re an experienced

--

--

Dawinder Singh Gill

Expert native Android developer, skilled in Java, Kotlin, and Jetpack Compose. Adheres to best coding practices, excels in UI/UX design and app optimization.