MVP Template For Android Studio

Reading time ~1 minute

Behind The Scene

In recent weeks, I’ve been researching about MVP pattern in android. In the past, I always put all code in the activity and I just realized it’s not good for future development, so I decide to learn MVP pattern. I found a good resource from Google Samples on github https://github.com/googlesamples/android-architecture/tree/todo-mvp/. For future use, I decide to build a template based on that Google Samples, so I’m learning how to build an android studio template. After some night surfing the internet, I found a good sample, here it is https://github.com/sudargits/MVPTemplate.


The Template

After some hours, the template is successfully created, you can visit https://github.com/firmannf/cl-android-mvp-template to see my template. If you’re interested to use this template, you just do this 3 steps :

  • Clone the repo
  • Copy the MVPActivity folder to the {Android Studio Directory}\plugins\android\lib\templates\activities\
  • Restart Android Studio if you are opening it

Hello Kotlin, Nice to Meet You!

My first experience using Kotlin to make a simple android app Continue reading

A Good Git Branching Model #CodeSharing

Published on February 05, 2017

Introduction to TF-IDF

Published on January 25, 2017