title: RXAndroidBLE: Compile error (@ReplayingShare)
body: <p>I tried to implement the <a href="https://github.com/dariuszseweryn/RxAndroidBle/wiki/Tutorial:-Connection-Observable-sharing#2-multiple-subscribes-with-rxreplayingshare" rel="nofollow noreferrer">method 2 of sharing a BLE connection</a>. Whatever I tried, it's not compiling. I'm new to Java, Android, BLE, RX etc., so I'm lost without help.</p>
  <p>Here is an excerpt of my code:</p>
  <pre><code>import com.jakewharton.rx3.ReplayingShare;
  import com.polidea.rxandroidble2.RxBleClient;
  import com.polidea.rxandroidble2.RxBleConnection;
  import com.polidea.rxandroidble2.RxBleDevice;
  :
  
  public class sbrBTSupport
  {
  :
  
  private Observable&lt;RxBleConnection&gt;    connectionObservable;
  :
  
      RxBleDevice bleDevice = bleClient.getBleDevice (sbrMAC);
      connectionObservable = bleDevice.establishConnection (false).compose (ReplayingShare.instance ());
  </code></pre>
  <p>ReplayingShare is providing an object while an <code>Observable&lt;RxBleConnection&gt;</code> is needed.
  I found suggestions in many posts here, but nothing worked. Please indicate where do I have to write what differently.</p>
  <p>Thanks
  Dieter</p>