Giter Site home page Giter Site logo

beomjo / white-noise-player Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 9.99 MB

๐Ÿ’ฟ White noise player app for sleep and concentration

License: Apache License 2.0

Kotlin 98.34% Shell 1.66%
android dagger2 hilt hilt-android mvvm mvvm-architecture mvvm-android jetpack jetpack-android livedata-viewmodel

white-noise-player's Introduction

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.

white-noise-player's People

Contributors

beomjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dariakrup

white-noise-player's Issues

Main ํ™”๋ฉด ๊ตฌํ˜„

  • FireStore์—์„œ ์นดํ…Œ๊ณ ๋ฆฌ ๋ชฉ๋ก ๋ฐ›์•„์™€ ๋ฆฌ์ŠคํŠธ๋กœ ๋ณด์—ฌ์ฃผ๊ธฐ

์ถœ์‹œ ์ค€๋น„

  • signing key ์ƒ์„ฑ
  • ์•ฑ ์†Œ๊ฐœ ์ด๋ฏธ์ง€ ๋งŒ๋“ค๊ธฐ
  • ๊ฐœ์ธ์ •๋ณด ์ฒ˜๋ฆฌ๋ฐฉ์นจ ๋งŒ๋“ค๊ธฐ
  • ์•„์ด์ฝ˜ ๋“ฑ๋ก
  • ๊ทธ๋ž˜ํ”ฝ์ด๋ฏธ์ง€ ๋งŒ๋“ค๊ธฐ
  • ์•ฑ ๋“ฑ๊ธ‰ ์„ค์ •

Dagger2 ์ ์šฉ

  • Module์ •์˜
    • Repository Module
    • ViewModel Module
    • FirebaseAuth Module
  • Component์ •์˜

Worfkflow ์ˆ˜์ •

  • Android CI ์‹คํ–‰ ์ˆœ์„œ ๋ณ€๊ฒฝ
    • ktlin, detekt ์‹คํ–‰ ํ›„ UnitTest ์‹คํ–‰
  • Android Lint Job ์ถ”๊ฐ€
  • ๋ฐ์ผ๋ฆฌ ๋นŒ๋“œ Schedule์„ค์ •

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.