title: Adding an Observable into a Observable<Collection<Class>>
body: <p>I'm trying to make a collection of observables and then add an observable into that collection. </p>
  
  <p>Right now in this code, it's saying <code>= new Observable&lt;ArrayList&lt;DMRegistration&gt;&gt;();</code> has protected access in rx.Observable and will not instantiate.</p>
  
  <p>Also with <code>dmRegistrations.add(dmRegistration);</code> it complaining about <code>add</code>  saying that it cannot resolve method 'add(rx.Observable)'</p>
  
  <p>I'm very new with observables and have Googled around but have found nothing that provided information leading to a possible solution. Am I approaching this the wrong way?</p>
  
  <pre><code>@Override
  public Observable&lt;Collection&lt;DMRegistration&gt;&gt;getAllRegistrations() throws DMException{
      try{
          Observable&lt;Collection&lt;DMRegistration&gt;&gt; dmRegistrations = new Observable&lt;ArrayList&lt;DMRegistration&gt;&gt;();
          Observable&lt;DMRegistration&gt; dmRegistration = execute(get(baseUrl + "registrations"), DMRegistration.class);
          dmRegistrations.add(dmRegistration);
          return dmRegistrations;
  
      }catch(RestException e){
          throw new DMException(e);
      }
  }
  </code></pre>