public class CountriesController extends BaseController
httpCallBack| Constructor and Description |
|---|
CountriesController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountries()
Get all countries
|
void |
getCountriesAsync(APICallBack<String> callBack)
Get all countries
|
static CountriesController |
getInstance()
Singleton pattern implementation
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static CountriesController getInstance()
public String getCountries() throws Throwable
Throwablepublic void getCountriesAsync(APICallBack<String> callBack)
Copyright © 2017. All rights reserved.