Hello, I am using the following code to extract data from the tables, it only retrieves 10 records. Please help
array = new ArrayList<>();
queryBuilder = DataQueryBuilder.create();
CustomProgressDialog(“Loading…please wait”);
Backendless.Persistence.of(ObservedIKIndicators.class).find(queryBuilder, new AsyncCallback<List<ObservedIKIndicators>>() {
@Override
public void handleResponse(List<ObservedIKIndicators> response) {
for (int i = 0; i <response.size() ; i++)
{
if (response.get(i).getUser().equals(userEmail))
{
array.add(response.get(i));
// array.add(new ObservedIKIndicators(response.get(i).getUser(),
// response.get(i).getIndicatorName(),response.get(i).getImageUrl(),
// response.get(i).getLocation(),response.get(i).getStatus(),response.get(i).getCreated()));
}
}
adapter = new History_Adapter(getApplicationContext(), array);
lvHistory.setAdapter(adapter);
Global_Class.ShowToast(getApplicationContext(),“Download successful”);
progressDialog.dismiss();
}
@Override
public void handleFault(BackendlessFault fault) {
Global_Class.ShowToast(getApplicationContext(),"Error: "+ fault.getMessage());
progressDialog.dismiss();
}
});