Improve fake mechanism of syncing
This commit is contained in:
parent
e0be6ef09f
commit
88d1f75d1d
|
@ -163,6 +163,12 @@ class RoomPollDataSource @Inject constructor() {
|
|||
Timber.d("roomId=$roomId")
|
||||
// TODO
|
||||
// unmock using SDK service + add unit tests
|
||||
if (fakeLoadCounter == 0) {
|
||||
// fake first load
|
||||
loadMorePolls(roomId)
|
||||
} else {
|
||||
// fake sync
|
||||
delay(3000)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue