Adjacent Files

Project Info

. > app > src > main > java > me > jfenn > cronhubclient > data > request > Request.java

init

Type: private void

Called once the request to github servers has been successfully completed.

Parameter Name Description
json the json response

failure

Type: private void

Called when there is a failure.

initJson

Type: protected boolean

Initializes the values in the class from the json string. Exists only to be overridden if necessary.

Parameter Name Description
gson the gson object
json the json string

onInit

Type: protected void

Called once the object has finished being initialized. Exists only to be overriden if necessary.

startInit

Type: public final void

Starts the network request thread, should only be called once.

merge

Type: public final Request

Merge this data’s listeners with another. Should only be called if the two are of the exact same class.

Parameter Name Description
data the data to merge with

Returned Value: a somewhat pointless “this”, only to make it blatantly obvious which GitHubData actually contains the end result

This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close