Skip to content

Instantly share code, notes, and snippets.

View alexandze's full-sized avatar

Alexandre Andze Kande alexandze

View GitHub Profile
@alexandze
alexandze / code1Rx.java
Created November 18, 2018 08:08
rxjava exemple
public void handle(Intent intent) {
UtilsEnlargeRadiusAlert.Builder builder = new UtilsEnlargeRadiusAlert.Builder(intent);
UtilsEnlargeRadiusAlert utilsEnlargeRadiusAlert = builder
.setRemoteServiceProxy(ipsProcessor.getProxy())
.setAlertDao(ipsProcessor.getAppDatabase().alertDao())
.setLocalBroadcastManager(ipsProcessor.getLbm())
.setContext(ipsProcessor.getContext())
.build();