Created
November 15, 2020 18:41
-
-
Save theapache64/36a556d3fbbcdaa00c8cbe9911110d91 to your computer and use it in GitHub Desktop.
Add this to your .bashrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mvvmize () { | |
# to hold local data source classes such as room,sqlite,realm etc. | |
mkdir -p data/local && | |
# to hold remote data source such as Retrofit, OkHttp etc | |
mkdir -p data/remote && | |
# to hold repository classes that will manage both local and remote data sources | |
mkdir -p data/repositories && | |
# to hold dagger modules | |
mkdir -p di/modules && | |
# to hold common utility packages | |
mkdir utils && | |
# store featurs | |
mkdir -p features/main && mv MainActivity.kt features/main/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment