I have purchased and configured DAVDroid to sync my iCloud contacts. However, I noticed that the contacts kept on disappearing, and then would re-appear after a sync. I enabled external logging and found this:
2016-12-07 17:06:58 1 [syncadapter.ContactsSyncManager] Selected address book has changed from null to https://p24-contacts.icloud.com/9115265/carddavhome/card/, deleting all local contacts
Does anyone know how to resolve this, so the contacts sync properly?