Skip to content

Repository files navigation

RxGC is garbage collection detector for RxJava2.x

this library can detect instance is called from GC.

install

add your gradle script

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}
implementation 'com.github.satoshun.RxGC:rxgc:$latest_version'

for kotlin

implementation 'com.github.satoshun.RxGC:rxgc-kotlin:$latest_version'

usage

Object target = new Object();
RxGC.watch(target)
        .subscribeOn(Schedulers.io())
        .subscribe(() -> Log.d("did Garbage Collection"));

About

RxGC is garbage collection detector for RxJava2.x

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages