Network Module for Android
It is a wrapper over android volley library, for making network call easy and maintaining multiple calls from same activity. just include this package and you are ready to use.
Making use
NetworkManager.getInstance(getContext())
.makeNetworkRequestForJSON(REQUEST_CODE,
Request.Method (GET/ POST),
URL,
JSON parameter,
header ,this /*must implement NetworkResponseListener from the same package*/);Handling response
If volley request succeeded with response code 200
it will call onDataReceived() else onDataFailed()
Support or Contact
Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.