Skip to content

antoniohbmonteiro/MVVM-Android-Template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

MVVM Android Template

An activity template that implements the mvvm pattern. Create an activity with a viewModel and a communication interface between activivty and view model.

Setup

To use this template your DataBinding needs to be enabled in gradle, and minSdkVersion must be >= 9.

** Add template **

  • clone this repository.
  • copy the folder MVVMActivityTemplate in {ANDROID_STUDIO_LOCATION}/plugins/android/lib/templates/activities/
  • copy the folder MVVMFragmentTemplate in {ANDROID_STUDIO_LOCATION}/plugins/android/lib/templates/other/

Usage

in AndroidStudio, File > New > Activity > MVVM Template Activity in AndroidStudio, File > New > Fragment > MVVM Template Fragment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • FreeMarker 100.0%