package libs.in.webserviceutil.wscalls;

import android.app.Activity;
import android.content.Context;

import libs.in.webserviceutil.wscalls.constant.OnHttpResponseReceived;
import libs.in.webserviceutil.wscalls.models.CheckVersionRequestModel;

/**
 * Created by apple on 20/04/17.
 */

public class MainClass
{
    public static void OnLunch(final Context context, CheckVersionRequestModel checkVersionRequestModel, String requestType, String API_URL)
    {
        //LsDialog.showProgressDialog(SplashActivity.this);
        OnLounchTask checkVersionTask = new OnLounchTask((Activity) context, requestType, checkVersionRequestModel, API_URL, new OnHttpResponseReceived()
        {

            @Override
            public void onResponseReceived(Object response, HttpResponseStatus responseStatus, int status)
            {

                if (responseStatus == HttpResponseStatus.RESPONSE_RECEIVED)
                {

                }


            }


        });
        checkVersionTask.execute();

    }

}

@@ -315,25 +315,48 @@
    p
-ublic static void
+rivate Object object;%0A%0A    public Object
  OnL
@@ -433,16 +433,22 @@
 stModel,
+ final
  String 
@@ -698,33 +698,32 @@
 ved()%0A        %7B%0A
-%0A
             @Ove
@@ -841,33 +841,32 @@
 )%0A            %7B%0A
-%0A
                 
@@ -869,106 +869,26 @@
     
-if (responseStatus == HttpResponseStatus.RESPONSE_RECEIVED)%0A                %7B%0A%0A                %7D%0A%0A
+object = response;
 %0A   
@@ -899,17 +899,16 @@
      %7D%0A%0A
-%0A
         
@@ -948,17 +948,39 @@
 ute();%0A%0A
+        return object;%0A
     %7D%0A
-%0A
 %7D%0A

Change return type