// Called on the UIThread when Nuxeo data has been retrieved @Override protected void onNuxeoDataRetrieved(Object data) { super.onNuxeoDataRetrieved(data); if (data != null) { // get the DocumentList from the async call result documentsList = (LazyUpdatableDocumentsList) data; displayDocumentList(listView, documentsList); } }