title: Getting an Observable that emits two types
body: <p>So I currently have one <code>Observable</code>, which returns the user:</p>
  
  <pre><code> public Observable&lt;Account&gt; getLoggedUserInfo() {
  
  
      try {
          return accountService.me(preferencesHelper.getToken()).concatMap(remoteAccount -&gt; {
              return localDatabase.addAccount(remoteAccount);
          });
  
      } catch (NullPointerException e) {
  
          return Observable.empty();
  
      }
  
  
  }
  </code></pre>
  
  <p>And I have an <code>Observable</code>, which returns a school, based on the id, which looks like this:</p>
  
  <pre><code>  public Observable&lt;School&gt; getSchoolById(@NonNull final String id){
  
      return schoolService.getSchool(id).concatMap(remoteSchool-&gt;localDatabase.addSchool(remoteSchool));
  
  }
  </code></pre>
  
  <p>Now I want to represent the school on my view, but in order to do that I need to create an <code>Observable</code> which would give me the account that I started with ( the <code>Observable</code> <code>getLoggedUserInfo</code>) and the school that happened after it, so i'd be ending up with something like </p>
  
  <pre><code>Observable&lt;Account, School&gt;{
  //Do something with the account and school
  
  }
  </code></pre>
  
  <p>So how do I obtain this <code>Observable</code>, with the observables I currently have, is it even possible ?
   I'm still fairly new to Rx and the big part that confuses me is the syntax, thanks in advance !</p>