Missing method for creates builder object of InternetObservingSettings
wcoder opened this issue · 1 comments
wcoder commented
wcoder commented
Because the native library contains nested classes InternetObservingSettings > Builder
that conflicting with binding InternetObservingSettings.binding
static method that can't be registered as InternetObservingSettings.Binding
. As a result, used another name is InvokeBuilder().
Using:
InternetObservingSettings settings = InternetObservingSettings.InvokeBuilder()
.Interval(5000)
.Build();
var obj = ReactiveNetwork
.ObserveInternetConnectivity(settings)
.SubscribeOn(Schedulers.Io())
.Subscribe(_consumer);