Skip to content

bartoszwilk/MoviperTemplateGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moviper Template Generator

Templates generator for Moviper - Mosby based VIPER library for Android

Where to get Moviper?

Read more here.

What does this generator do?

It generates appropriate file set to quickly create Moviper Viper managed Activity or Fragment.

Installation

To use these templates you will need Android Studio.

Copy the folders from resources/liveTemplates into <androidStudio-folder>/plugins/android/lib/templates/other/ and they will appear in the project explorer context menu.

Restart Android Studio, and you will find templates in: New -> Other -> Moviper Viper managed Activity / Fragment. Use the right click in location where you want your Activity/Fragment to be created.

Why is it bundled as a InteliJ Plugin?

Because it's the easiest way for me to manage these templates and hopefully, in future, they will be distributed as a Android Studio plugin, what will allow a much easier installation and migrating between Android Studio versions.

Known issues

  • There is no possibility to generate other Moviper Fragments and Activities than Viper ones (Wipe and Perv are also available in the library).
  • A copy-paste installation is kinda problematic.
  • The copy-paste installation will not migrate with Android Studio updates.

Credits

I have adapted installation instructions from Gabriele Mariotti Android Studio Templates.

License

Copyright 2016 Mateusz Koślacz

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.

About

Moviper Android Viper library template generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • FreeMarker 98.8%
  • Java 1.2%