Start a new topic

Bulk saving of object with ArrayList

Hi guys,



I have a arraylist of Contact object and wondering if kinvey android sdk support of saving this arraylist instead of saving one by one.



Typically we save like



AsyncAppData cont = mKinveyClient.appData("contact", Contact.class);



cont.save(contact, new KinveyClientCallback() {



@Override

public void onFailure(Throwable e) {

Log.e("", "failed to save Contact", e);

}



@Override

public void onSuccess(Contact r) {

Log.d("", "saved data for Contact ");

}



});



Cheers,

Mark

Hello again Mark,



At present we don't support this functionality due to the way our API is implemented. At present our API is implemented to return calls as single entities and doesn't support a batch model. As with your other request I will pass this off as a feature request.



Thanks :)
Hi Damien,



Thanks a lot for prompt reply.



Cheerios,

Mark
Login or Signup to post a comment