All Projects → pokk → DropBeat

pokk / DropBeat

Licence: MIT License
A Music Player with downloading, playing, searching, exploring functions.

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DropBeat

Coolweather
Weather App that uses Android best practices. Android Jetpack, clean architecture. Written in Kotlin
Stars: ✭ 154 (+1084.62%)
Mutual labels:  room, clean-architecture, android-app
Klean-ArchiteKture
Kotlin Android clean-architecture demo project for a meetup talk. Slides: https://docs.google.com/presentation/d/1CxnntHf3CorNDicx_cDN5s1t5pEbUwjwWHZ5PNmfe6Y/edit?usp=sharing
Stars: ✭ 10 (-23.08%)
Mutual labels:  clean-architecture, android-app
Muvi
Very simple project to show a collection of Movie from MovieDb with a minimalist design
Stars: ✭ 46 (+253.85%)
Mutual labels:  room, clean-architecture
HeadLines
HeadLines is a 📰 news app that delivers you with the latest news. It has interactive UI and easy to use. The app can be scrolled offline to watch your bookmarked news. Give this app a try and let me know.
Stars: ✭ 16 (+23.08%)
Mutual labels:  room, android-app
raffler-kotlin
A raffling app developed as a playground to study many topics related to Android. Kotlin + Coroutines + MVVM
Stars: ✭ 44 (+238.46%)
Mutual labels:  clean-architecture, detekt
android-clean-architecture
Sample for Android Clean Architecture.
Stars: ✭ 120 (+823.08%)
Mutual labels:  room, clean-architecture
MVI-Clean-Architecture
MVI + Clean Architecture + Best Practices | Example of Clean Architecture of Android app using MVI design pattern with Jetpack and popular libraries
Stars: ✭ 50 (+284.62%)
Mutual labels:  room, clean-architecture
Android Clean Architecture Mvvm Dagger Rx
Implemented by Clean Architecture, Dagger2, MVVM, LiveData, RX, Retrofit2, Room, Anko
Stars: ✭ 138 (+961.54%)
Mutual labels:  room, clean-architecture
Transact
A transaction management android app which allows you to verify records from both parties before addition.
Stars: ✭ 21 (+61.54%)
Mutual labels:  room, clean-architecture
UseCases
This a library that offers a generic implementation of the data layers from the clean architecture by Uncle bob.
Stars: ✭ 23 (+76.92%)
Mutual labels:  clean-architecture, usecase
movies
An example approach for modularization, reactive clean architecture and persistancy.
Stars: ✭ 110 (+746.15%)
Mutual labels:  room, clean-architecture
Android Kotlin Mvi Cleanarchitecture
Android + Kotlin + Modularization + Gradle Depedency managment + Gradle written in Kotlin DSL + Custom Gradle Plugin + MVVM + MVI + Clean Architecture + Repository Pattern + Coroutines + Flows + Koin + Retrofit2 + ROOM + Kotlin-Android-Extension + KtLints
Stars: ✭ 187 (+1338.46%)
Mutual labels:  room, clean-architecture
Plastic
This project provides encapsulation of things like Domain, Application Rules, Business Rules or Business Logic in Application.
Stars: ✭ 30 (+130.77%)
Mutual labels:  clean-architecture, usecase
Android-Clean-Architecture
This is a sample movie list Android application built to demonstrate use of Clean Architecture tools. Dedicated to all Android Developers - (Kotlin, MVVM, Clean Architecture, Rx-Java, Dagger, OkHttp, Unit Testing, SOLID principles, Code Coverage)
Stars: ✭ 268 (+1961.54%)
Mutual labels:  room, clean-architecture
Popularmovies
🎥 Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.
Stars: ✭ 142 (+992.31%)
Mutual labels:  room, android-app
Android-Kotlin-MVVM-Template
[In progress...] Chat APP | MVVM + Clean Architecture | Kotlin, LiveData, Koin, Databinding, Navigation Fragments, Rx, Room, Crashlytics, Circle CI config, commons classes for UI.
Stars: ✭ 314 (+2315.38%)
Mutual labels:  room, android-app
Clean Architecture Components Boilerplate
A fork of our clean architecture boilerplate, this time using the Android Architecture Components
Stars: ✭ 1,241 (+9446.15%)
Mutual labels:  room, clean-architecture
Sdkmonitor
App to display and monitor the targetSDK from installed apps.
Stars: ✭ 122 (+838.46%)
Mutual labels:  room, android-app
flickr-android
A small sample app to showcase architecting app using Clean Architecture and MVVM
Stars: ✭ 25 (+92.31%)
Mutual labels:  room, clean-architecture
Jade-Player
A media player for Android.
Stars: ✭ 70 (+438.46%)
Mutual labels:  room, exoplayer2

DropBeat

codebeat badge CodeFactor DeepSource Licence

System Overview

Module Dependency Graph

DropABeat Architecture@2x

Architecture of each feature module

Basically, our project is using single activity and multiple fragments.

The Feature of Clean Architecture

The clean architecture known to everyone, the purpose is dividing each layer and make them independent. I will say the clean architecture is separating modules horizontally.

The Feature of Dynamic Feature

Dynamic Feature were published by few yeas ago. Briefly, as the word says, it makes each feature to a module. I will say the dynamic feature is separating modules vertically.

We decided to get both advantages with an easier way and mix them together to our project. To mix them, the dynamic feature will be the main architecture and clean architecture will be inside each feature module.

There are so many strict rules in the origin clean architecture, e.g. an object on the presentation layer won't access a class from the data layer, or each layer has their own data classes, the mapper classes, ...etc.

If keeping the rules here, this project will be a hugh project and only one maintainer is me 😢. This project is still keeping the basic rules, but we need to have a compromise with those features.

Feature Module Architecture

Detail of Presentation Layer

  • Activity/Fragment:
  • ViewModel: It handles the view state and data, and the view logic. Also, it helps a view to connect a usecase. Three types of them, ViewModel, AndroidViewModel, SavedStateViewModel will be used.

Detail of Domain Layer

The business logic will be here mostly.

  • OneShot UseCase: This is one time fetching, just send a request and get a response, eg. normal restful api request.
  • Observable UseCase: For the local database, once the data we are observing is changed, the observable usecases will keep receiving the changing until the observing finishes.

Detail of Data Layer

  • Repository:
  • 3 Layer Cache: We would like to have a cache system. One path is for fetching data from the remote server; another path is for the local database.

Cache Strategy

  • Data Model:

Snapshot of App

image image image image
image image image

Licence

MIT License

Copyright (c) 2021 Jieyi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].