i am trying to load names of all backendless users to a listView

i am a new backendless user,This is what i have

public class BackendlessUsers extends ActionBarActivity {
ProgressDialog progressDialog;
ListView ListViewnames;

private List<String> names = new ArrayList<String>();
private ArrayAdapter<String> adapter;



@Override
public void onCreate( Bundle savedInstanceState ) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.user_list);


   ListViewnames=(ListView)findViewById(R.id.listViewNames);

    Backendless.initApp(this, PuoApplication.APPLICATION_ID, PuoApplication.ANDROID_SECRET_KEY, PuoApplication.VERSION);






    progressDialog=new ProgressDialog(BackendlessUsers.this);
    progressDialog.setMessage("loading.......please wait");
    progressDialog.show();



   Backendless.Data.of(BackendlessUser.class).find(new AsyncCallback<BackendlessCollection<BackendlessUser>>() {
       @Override
       public void handleResponse(BackendlessCollection<BackendlessUser> backendlessUserBackendlessCollection) {
           Iterator<BackendlessUser> userIterator = backendlessUserBackendlessCollection.getCurrentPage().iterator();
           while (userIterator.hasNext()) {
               BackendlessUser user = userIterator.next();
                String name = (String) user.getProperty("name");
               names.add( name );
           }
       }

       @Override
       public void handleFault(BackendlessFault backendlessFault) {
           Toast.makeText(BackendlessUsers.this, "Error" + backendlessFault.getMessage(), Toast.LENGTH_SHORT).show();
           BackendlessUsers.this.progressDialog.show();
       }
   });

    adapter = new ArrayAdapter<String>( this, android.R.layout.simple_list_item_1,names );
    ListViewnames.setAdapter( adapter );


}
}

Hi.
Could you clarify, what you expect ?

Get all users is very simple.

Backendless.Data.of( BackendlessUser.class ).find()
Then use BackendlessCollection method nextPage() if you have a lot of users.