title: Android Lifecycle and Eventbus Issues
body: <p>I am having a few issues with the android lifecycle and Eventbus.
  <a href="https://github.com/greenrobot/EventBus" rel="nofollow">https://github.com/greenrobot/EventBus</a></p>
  
  <p>Currently, I am registering the activity to the bus in the onCreate lifecycle callback.</p>
  
  <p>I am also unregistering it at the onStop callback.
  And then I am registering it on the onRestart.</p>
  
  <p>When I hit the home button from my application, and then relaunch the application, it logs that onRestart is being called. However, after this, when I try to do something it gives me:</p>
  
  <blockquote>
    <p>01-24 05:23:44.504: D/Event(3134): No subscribers registered for event class com.garrrila.iconolist.events.IconSelectorEvent.</p>
  </blockquote>
  
  <p>How is this happening?</p>
  
  <p>My onRestart code:</p>
  
  <pre><code>@Override
  public void onRestart(){
      Log.d(TAG, "onRestart called.");
      super.onRestart();
      EventBus.getDefault().register(this);
  }
  </code></pre>
  
  <p>EDIT****</p>
  
  <p>I am an idiot it turns out.</p>
  
  <p>Didn't call super before unregistering or registering and did it after on accident.</p>