@NonNull
@Override
public Observable<PageResult<List<BaseContactModel>>> getContacts(@Nullable String searchQuery,
@Nullable String docUuid,
@Nullable String dialogUuid,
int pageNumber,
int pageSize) {
return Observable.fromCallable(() -> mNativeCore.get().getSearchedContacts(searchQuery, docUuid, dialogUuid)).
map((rawContacts -> new PageResult<>(mContactModelMapper.apply(rawContacts), false))).
compose(getObservableBackgroundSchedulers());
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.