You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YTemplate aims to build your initial setup for your Android project quickly. The project provides you organised structures following MVVM architecture and also provides dependencies to support major functionalities which an Android project needs
3
+
Y—Template aims to build your initial setup for your Android project quickly. The project provides you organised structures following MVVM architecture and also provides dependencies to support major functionalities which an Android project needs
4
4
5
5
The project includes a shell script file `YTemplate.sh` which renames and restructures the Android project based on the package name, model name and application name the Android project needs.
6
6
7
-
### How to run the YTemplate script
8
-
- The script file `YTemplate.sh` takes two inputs
9
-
-`<package_name>` is your app ID and should be in lowercase.
Note: To run the shell script on Windows, one can run bash on ubuntu in Windows(starting from Windows 10).
14
-
Type ` bash YTemplate.sh <package_name> <data_base_entity> <application_name>`. It will execute the script
14
+
Type ` bash YTemplate.sh <package_name> <data_base_entity> <application_name>`. It will execute the script.
15
15
16
16
17
17
## Features
18
-
* Compose UI
19
-
* HILT dependency for dependency injection
20
-
* Jetpack navigation
21
-
* Version catalog support for handling dependencies
22
-
* MVVM architecture
23
-
* Room database support for Local database
24
-
* Ktor for remote database connection
25
-
* Jacoco support for test report generation
18
+
* Compose UI.
19
+
* HILT dependency for dependency injection.
20
+
* Jetpack navigation.
21
+
* Version catalog support for handling dependencies.
22
+
* MVVM architecture.
23
+
* Room database support for Local database.
24
+
* Ktor for remote database connection.
25
+
* Jacoco support for test report generation.
26
26
27
27
### Architecture
28
-
YTemplate follows MVVM architecture. Different modules support different layers of MVVM architecture.
28
+
Y—Template follows MVVM architecture. Different modules support different layers of MVVM architecture.
29
29
30
30
##### Multi-Module
31
31
*`app` : Entry point for the app. Provides basic structures such as Application classes, Navigation components.
@@ -38,29 +38,29 @@ YTemplate follows MVVM architecture. Different modules support different layers
38
38
39
39
##### Single-Module
40
40
*`app` : Module to add various features to the app and providing basic structures such as Application classes, Navigation components. This is a combined version of app and feature module of Multi-module architecture.
41
-
*`domain`(optional) : Package structure which can be added under app module which would contain domain/use case files. This is similar to core/domain in multi-module
41
+
*`domain`(optional) : Package structure that can be added under app module which would contain domain/use case files. This is similar to core/domain in multi-module
42
42
*`data` : Package structure to handle the data layer placed under the app module. This is similar to core/data in multi-module
0 commit comments