In this post I will explain with example the difference between autoConnect and connect. In terms of similarities both are used with ConnectableObservable which is an Hot Observable. Both tells the Observable when to start emitting items. The difference being when to tell the Observable, at what point to start emitting items. For example, if…… Continue reading autoConnect vs connect method
Tag: connect
Jsoup’s connect method
In my previous post under Jsoup, I showed with example how to parse an html document located on world wide web using overloaded “parse” method. In this post, I will show with example another approach of doing the same thing. The Jsoup javadoc recommends to follow this approach instead of using overloaded “parse” method. Below…… Continue reading Jsoup’s connect method