Aaron He's blog
  • Home
  • Twitter
  • GitHub
Subscribe

RxJava

A collection of 1 post
RxJava

Cleanup when a subscriber unsubscribes

Often times, I need to clean up stuff after a subscriber unsubscribes. There's a handy methods just for that: Subscriptions.create(Action0). The parameter Action0 is a function passed in to do things after a subscriber unsubscribes. For example, if a callback is set on an instance when a subscriber
Jan 24, 2016 1 min read
Aaron He's blog © 2025
Powered by Ghost