Part 1: How to improve productivity with android plugin
Today we will learn how to increase productivity with android plugin. Android is a robust and flexible tool, we have many plugins to make our work easier. Android Studio provides the fastest tools for building apps on every type of Android device.
World-class code editing, debugging, performance tooling, a flexible build system, and an instant build/deploy system all allow you to focus on building unique and high quality apps.
The ways to increase productivity
- To be able to write more lines with few keys.
- To be able to debug more quickly.
- A powerful computer.
- Improve the build time.
In addition to the reason for upgrading your computer, you can use many useful plugins to optimize your work. To day we will learn about some plugins.
It is a simple plug-in for Android Studio/IDEA that allows one-click creation of Butterknife view injections. You can save a lot of time writing code with Butterknife. In addition to injections this can even generate click methods for you!
Have you ever had to forward data between two activities/fragments?
We can use the Bundle method with a specific type of items, but if we need pass an object, we can implement either Serializable or Parcelable interface. With Serializable, you can use it easily, but Parcelable interface is highly praised for its performance. The drawback comes with that it requires a bit of code. However, you can Android parcelable code generator to fix it.
You can see an example :
In the progress of the working with backend team, they give you a sample of JSON and you create model with it. It is boring and a big waste of time. From now on, you can get rid of that boredom with RoboPOJOGenerator. It support Kotlin as well.
You can refer : DTO generator
I hope this will help you out speeding the development process and reduce the amount of boredom work! Stay tuned for the next article!
Originally published at Code for fun.