Skip to content

beomjo/white-noise-player

Repository files navigation

White Noise Player

License Build Status ktlint

Listen to various white noises that help you study, sleep and concentrate

You can't concentrate when you study, concentrate, or sleep? Join the White Noise Player!
The sounds of nature, the sounds of traffic, the sounds commonly heard in the house, the sounds of travel, the sounds of animals, etc. You can hear sounds that can help you study, concentrate, and sleep.


image

Download

Google Play Store Link

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based + Coroutines for asynchronous.
  • JetPack
    • LiveData - notify domain layer data to views.
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Repository pattern
    • Dagger Hilt - dependency injection.
  • Firebase - FireStore, Storage
  • Glide - loading images.
  • Lottie - Load json animation
  • Shared Element Transition - Provides a visual connection between different states through motion and transitions between Shared Elements
  • Shimmer-Android - unobtrusive loading indicator, developed from Facebook
  • Bindables - DataBinding kit for notifying data changes from Model layers to UI layers.
  • Material-Components - Material design components like ripple animation, cardView.
  • Media Control - Share media contents and controls with other apps.

MAD Score

summary kotlin

Unit Testing

Unit Tests verify the interactions of viewmodels between repositories.

  • MockK - mocking library for Kotlin image

Architecture

WhiteNoisePlayer is based on MVVM architecture and a repository pattern. image

Audio Overview

The most basic architecture of an audio app is the client/server design.
End implementation within MediaBrowserService UI and Media Controller run with MediaBrowser. image

Dagger Graph

Dagger graph represented by Scabboard image

LICENSE

Designed and developed by 2021 beomjo

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.