5253545556575859606162
public void onSuccess(Object data) { LoadingPopup.close(); String[] list = (String[]) data; if ( list.length == 0 ) { list = new String[]{cs.UnableToLoadList()}; } fillDropDown( currentValue, list ); }
6364656667686970717273
public void onFailure(Throwable t) { LoadingPopup.close(); //just do an empty drop down... fillDropDown( currentValue, new String[]{cs.UnableToLoadList()} ); } } ); } } );
6869707172737475767778
7980818283848586878889
6768697071727374757677
7879808182838485868788
225226227228229230231232233234235
} public void onFailure(Throwable t) { LoadingPopup.close(); //just do an empty drop down... doDropDown(currentValue, new String[] {cs.UnableToLoadList()}, box); } }); } });