title: RxJava How to properly Resubscribe onError
body: <p>So im working on an android project, and currently, i am using RxJava to fetch data from the WS and display it as soon as its ready. I'm using the following aproach, which i'm not sure is the best.</p>
  
  <ul>
  <li><p>If onError gets called, subscribe again</p>
  
  <pre><code>    private void getGeneralLiveData(Observable&lt;CurrentGameInfo&gt; obsCurrentGameInfoBySummonerId) {
      /**
       * Get General Live Data
       */
      subscriptions.add(
              obsCurrentGameInfoBySummonerId
                  .doOnSubscribe(() -&gt; currentGameGlobalInfo.enableProgressBar(true))
                  .doOnUnsubscribe(() -&gt; currentGameGlobalInfo.enableProgressBar(false))
                  .subscribe(onNext -&gt; ... ,onError-&gt; {
                          getGeneralLiveData(obsCurrentGameInfoBySummonerId);
                   }
  );
  </code></pre></li>
  </ul>
  
  <p>This is currently working, and i get the results i want. But i am not sure this is the best approach. So i have two questions:</p>
  
  <ul>
  <li>Is there any proper way of accomplish the same ?</li>
  </ul>