#329 - Sync contact after adding

This commit is contained in:
Moez Bhatti
2018-09-03 14:39:32 -04:00
parent 0de41ce661
commit 14399e057d
6 changed files with 116 additions and 1 deletions
@@ -0,0 +1,9 @@
package com.moez.QKSMS.listener
import io.reactivex.Single
interface ContactAddedListener {
fun listen(address: String): Single<*>
}
@@ -37,4 +37,11 @@ interface SyncRepository {
fun syncContacts()
/**
* Syncs a single contact to the Realm
*
* Return false if the contact couldn't be found
*/
fun syncContact(address: String): Boolean
}