Skip to content

Instantly share code, notes, and snippets.

@Den-Rimus
Created July 22, 2016 14:16
Show Gist options
  • Save Den-Rimus/1b052a2a8fde916ab0bdb88ce0f6f079 to your computer and use it in GitHub Desktop.
Save Den-Rimus/1b052a2a8fde916ab0bdb88ce0f6f079 to your computer and use it in GitHub Desktop.
#here comes Observable<List<DtlMerchant>>#
.flatMap(Observable::from)
.filter(merchant -> merchant.getPartnerStatus() == PartnerStatus.UNKNOWN)
.filter(merchant -> merchant.getType() == MerchantType.UNKNOWN)
.toList()
#here I need the same Observable<List<DtlMerchant>>#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment