SHARE
TWEET

Untitled

a guest Jun 20th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bannersDeletionSubject
  2.             .subscribeOn(Schedulers.single())
  3.             .observeOn(Schedulers.single())
  4.             .onErrorReturn { errorBanner }
  5.             .filter { it.id != errorBanner.id }
  6.             .subscribe(
  7.                 { banner ->
  8.                     ListingSectionItemRealm()
  9.                         .delete {
  10.                             equalTo("banner.id", banner.id)
  11.                         }
  12.                 },
  13.                 { }
  14.             )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top