Giter Site home page Giter Site logo

mehrdad32 / musicplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zahraheydari/musicplayer

0.0 0.0 0.0 10.76 MB

Implemented using Clean Arch, MVVM, LiveData, Room, Koin, Coil, Service, Notification and ExoPlayer

License: Apache License 2.0

Kotlin 100.00%

musicplayer's Introduction

Android-Clean-Arch-Room-Koin(MusicPlayer)

A Simple Audio Player Android Application which has been implemented using Clean Architecture alongside MVVM design to play (online/offline) songs by running a service in the background and displaying a notification at top of the screen.

The flow of player module which implemented:



The App Scenario:

After selecting songs from your device, they will be saved in database and will be displayed in a playlist. Besides when a list item is clicked, the song player page is displayed whereas player service is run in the background and notification will be displayed at top of the screen.(Clicking on notification has been handled!) Also if you click long on the song item of playlist, it will be removed both from your stored and displayed playlist.



Technologies & Methodologies which used:

  • Koin
  • Clean Architecture
  • MVVM Pattern
  • LiveData
  • Coil(Image Loader)
  • ExoPlayer
  • Mockito

The features of player module:

  • The player service run in the background and can`t be killed until user stops a song.
  • The notification of playing song will be diplayed at top of screen. (both collapse/Expand views were supported)
  • Player actions in use consists of play/pause, skip to next/previous, repeat one song, repeat all songs, shuffle songs,...
  • Supported swiping to left/right side.

Supported Android Versions:

  • Android 4.0.3 Ice Cream Sandwich(API level 16) or higher

Used libraries:

  1. Github - Multidex
  2. Github - Koin
  3. Github - Coil
  4. Github - ExoPlayer
  5. Github - Mockito

License

Copyright (c) 2019 ZARA (https://github.com/ZahraHeydari/).

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

musicplayer's People

Contributors

zahraheydari avatar drjacky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.