title: Read object values from Observable
body: <p>Is there a way I can return user list from userObservable in the below code. Basically how to read object values of an Observable.</p>
  
  <pre><code>public List&lt;User&gt; getUserList(){
      Observable&lt;Map&lt;String, Object&gt;&gt; userDetailsObservable = getUserDetails(...);
      Observable&lt;Map&lt;String, Object&gt;&gt; userLikesObservable = getUserLikes(...);
      Observable&lt;List&lt;User&gt;&gt; userObservable = Observable.zip(userDetailsObservable,
              userLikesObservable, new Func2&lt;Map&lt;String, Object&gt;, Map&lt;String, Object&gt;, List&lt;User&gt;&gt;() {
                  public List&lt;User&gt; call(Map&lt;String, Object&gt; value1, Map&lt;String, Object&gt; value2) {
                      List&lt;User&gt; userList = new ArrayList&lt;User&gt;();
                      //Iterating both maps and composing user list here.
                      return userList;
                  }
              });
      userObservable.subscribe(new Subscriber&lt;List&lt;User&gt;&gt;() {
          @Override
          public void onNext(List&lt;User&gt; userList) {
              System.out.println("Merged values " + userList);
          }
  
          @Override
          public void onError(Throwable error) {
              System.err.println("Error: " + error.getMessage());
          }
  
          @Override
          public void onCompleted() {
              System.out.println("Sequence complete.");
          }
      });
      // Throws ClassCastException which is expected... How do I get the user list from userObservable
      List&lt;User&gt; userList = List&lt;User&gt; userObservable;
  
      return userList; //Fetch the user list from userObservable and return
  }
  </code></pre>