Yorxxx / playednext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Completables instead of Single when storing data

Yorxxx opened this issue · comments

Currently BaseRepositoryDataSource uses a Single as Observable function when storing data.

Single<T> save(T data);

But all the repository implementations simple emits the supplied data.

To avoid confusion, it would be clearer to use Completable

Completable save(T data)