Skip to content

Android Studio template for Kotlin with MVVM and has options for AndroidX and GM MVVM Starter

License

Notifications You must be signed in to change notification settings

msayan/kotlin-mvvm-activity-template

Repository files navigation

KotlinMVVMActivity Template

Android Studio template for Kotlin with MVVM and has options for AndroidX and GM MVVM Starter

You can find GM MVVM Starter here

Installation

  • Download Repo
  • Copy all file inside repo.
  • Go to your Android Studio app, then Contents/plugins/android/lib/templates/activities/KotlinMVVMActivity (Full path: /Applications/Android Studio.app/Contents/plugins/android/lib/templates/activities/KotlinMVVMActivity).
  • Paste the templates in the 'KotlinMVVMActivity' folder
  • Restart Android Studio if it's running.

Note: Make sure to check the repo for updated templates. You have to remove and add the updated template again.

Note 2: Android Studio will remove the template on each update. You need to install it after each update.

Usage

  • Launch Android Studio
  • Right click -> New where you want to use the new template. Look Activity section for your new template and use it.
  • Complete the form with your information.
  • Build the project for Databinding

Contribution

Submit your template ideas (issues or pull requests) and report any problems faced with current ones.

LICENSE

MIT License

Copyright (c) 2018 Mehmet Salim Ayan

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.

About

Android Studio template for Kotlin with MVVM and has options for AndroidX and GM MVVM Starter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published