In my application, I want to bind `Json response` to a target class using `Volley library`, But am not able to do that.

My Code: 

```
    @Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    registerComponentDownload(GalleryParser.class, Const.api.URL_GALLERY);
}//on create

private void makeJsonObjectRequest(final Class<? extends BaseModel> className, String urlJsonArry) {

    JsonObjectRequest jsonObjectRequest=new JsonObjectRequest(Request.Method.GET,urlJsonArry,null, new Response.Listener<JSONObject>() {
        @Override
        public void onResponse(JSONObject response) {
            //start gallery activity
        }
    } , new Response.ErrorListener() {
        @Override
        public void onErrorResponse(VolleyError error) {

        }
    });
    AppController.getInstance().addToRequestQueue(jsonObjectRequest);
}
private void registerComponentDownload(Class<? extends BaseModel> aClass, String url) {
    makeJsonObjectRequest(aClass,Const.buildUrl(url));
}

```

}

Is it possible to get response in class? Or am trying in wrong direction.

Please suggest me.

Thank you.