Saturday, March 12, 2016

GsonFormat and Parcelable plugins for Android Studio -- HEAVILY RECOMENDED

Hello guys,

I am really excited to share two plugins with my fellow android developers which saves u a lot of time.

GsonFormat:

Note : This plugin is helpful if you are using Gson to convert Json file into Java model.

Recently I was trying to search for a plugin to autogenerate java model from the JSon file.Then, I got to know about GsonFormat plugin. Install the plugin from your studio preferences. Restart your studio, right click inside the java file --> generate --> GsonFormat. It asks for the Json file, copy- paste that -- > Boom, it does the rest for you.

Complete details here.

Parcelable:

Note: Assuming you are using parcelable in your projects to pass objects using intents.

While implementing parcelable, general mistakes will be the order of writing and reading objects. Some times we might miss some variables.

Solution - Use parcelable plugin which generates code for you.

I think Jetbrins site is down when i'm writing this post. Should be back shortly.

MUST TRY - HIGHLY RECOMMEDED PLUGINS.

Comment out any useful plugins you know :)

Cheers,
Sree

No comments:

Post a Comment