atsign-foundation / arrive

A‎rrive makes peer-to-peer encrypted location sharing easy.
BSD 3-Clause "New" or "Revised" License
10 stars 15 forks source link

Replace sync onDone callback with SyncProgressListener #56

Open sitaram-kalluri opened 1 year ago

sitaram-kalluri commented 1 year ago

Is your feature request related to a problem? Please describe.

The sync method which accepts onDone function as a callback to notify the sync completion is deprecated. From now, the sync progress will be notified via the SyncProgressListener.

Following are the files which has onDone usage:

Describe the solution you'd like

The sample code can be found here: sync_progress_listener_sample_usage