Single<Long> createTag(String tag) {
// creating tag, returning long id
}
Single<List<Long>> createTags(List<String> tags) {
return Observable.fromIterable(tags)
.flatMap(this::createTag)
.toList();
}
Completable attachTagsToUser(List<String> tags, User user) {
return createTags(tags)
.flatMapCompletable(tagIds -> /* do what you want, here the ids */);
}
scrollwheel: false
.noUi-base .noUi-origin:first-of-type .noUi-tooltip {
color: green;
}
.noUi-base .noUi-origin:nth-of-type(3) .noUi-tooltip {
color: magenta;
}
.noUi-handle-upper .noUi-tooltip {
color: red;
}
.noUi-base .noUi-origin:nth-of-type(5) .noUi-tooltip {
color: blue;
}