mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
#329 - Sync contact after adding
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user