It will be sustained on git below.
https://github.com/BansookNam/svc-template
If you want to start your project with SVC pattern this project will save your time.
It helps you to make several files which are necessary.
If you want to know about SVC and source code, click here link below.
-
- If you have a standard Android Studio installation:
Just run the install script at the root of this repository:
./install.sh
- Manual installation:
Just copy directories
SVC***
to~/.android/templates/other/
Just copy directories
SVC***
to$ANDROID_STUDIO_FOLDER$\plugins\android\lib\templates\other\
-
restart AndroidStudio
-
done
-
clone
https://github.com/naver/svc-template.git
-
run shell script through command line. (Terminal in mac)
./install.sh
-
restart Android Studio
-
new -> SVC -> select SVC Activity /SVC Activity with ViewsAction /SVC Fragment /SVC Fragment with ViewsAction
-
write screen name, author then click "Finish".
You will see "Unresolved Reference" error. -
click "Build" - "Rebuild Project" This will create "SVC_{component}" based on annotations.
-
Done! Happy coding!
- the xml layout's root is constraintlayout so hope you use this layout. Add below into your app build.gradle
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' //or above
https://github.com/riggaroo/android-studio-group-templates-mvp
https://github.com/vsay01/Android-Studio-MVP-Template-Google-Architecture
SVC Template is licensed under the Apache License, Version 2.0. See LICENSE for full license text.
Copyright 2018 NAVER Corp.
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.