title: Java Paho MQTT detect reconnection
body: <p>I am using a the Paho MQTT library for android and my application is exchanging live editing data. I want to disable an edittext if the app disconnects from the broker and enable it when connection is reestablished.</p>
  
  <p>First part is easy enough the <code>MqttCallback</code> has a <code>connectionLost</code> method, but not reconnect. Also when debugging the the <code>IMqttActionListener</code> on the connect method I noticed that the event is not fired upon a reconnect.</p>
  
  <p>So my question is if there is any way at all to detect a reconnect?</p>