Android IDE (AIDE) Support Forum

AIDE and ReactiveX

The following code is written in java 1.8 using reactivex.

  private void loadData() {
	 
  mCompositeDisposable.add(Observable.fromCallable(() -> CursorHelper.getTracksForSelection("SONGS", ""))
            .subscribeOn(Schedulers.io())
            .observeOn(AndroidSchedulers.mainThread())
            .subscribeWith(new DisposableObserver<ArrayList<Song>>() {
                @Override
                public void onComplete() {

                }

                @Override
                public void onError(Throwable e) {

                }

                @Override
                public void onNext(ArrayList<Song> data) {
                    mSongList.clear();
                    mSongList.addAll(data);
                    mAdapter.update(mSongList);
                }
            }));
}

When downloading rx libs, AIDE seems to NOT download all the rx libraries needed because at some point the download dialog disappears without finishing the download and it prompts me to download it.

Since java 1.8 is not supported by AIDE and thus this code is useless, how do I convert the exact code to another one that is comprehendable by AIDE? Even without the use of reactivex itself .