In many times in our development time we need to compare between two JSON Object are equal or not. For simple JSON Object which has contain with 3-4 key-value pair is easy for us to compare it by us, but for complex JSON it is very difficult two compare between them. So in this article I show you how you easily compare between two JSON. For that case you need to visit http://www.jsondiff.com/ As example, Using this site we compare between two json object Sample JSON 1 { "name" : "John Doe" , "roll_no" : "25" , "is_present" : true } Sample JSON 2 { "name" : "John Doe" , "roll_no" : "25" , "is_present" : false , "div" : "A" } So first we open the site and in left and right side input box just copy paste the sample JSON 1 and sample JSON 2 and click on the "Compare" button which placed in centre. Now you can easily see the difference as per ...
In every single android application, we need to make many number of recycler-view adapter. So every time you create a blank adapter and modify it as per your requirements. But it is very boring and as well as time taking. So here I give you a solution that you can create any recyclerview adapter within 5 seconds using file template in Android Studio. So, Lets read this full article- First we open android studio and create a project. After project creation Open File->new->Edit File Template... Follow this below screenshot Okay, After click on "Edit File Template" a popup is open "File and Code Template", Now click on the " + " icon and set set your template name. Now set your template name, template extension and template body. after doing everything click on "Apply" and then click on "OK" The template body I after after the screenshot Template Body Copy this code and paste it on the template body section, which I marked in scre...