Exemplo n.º 1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (getParentFragment() == null) {
      setRetainInstance(true);
    }

    AndroidMvc.graph().inject(this);

    eventRegister = new EventRegister(this);
    eventRegister.onCreate();
    eventRegister.registerEventBuses();
  }
Exemplo n.º 2
0
 @Override
 public void onViewCreated(View view, Bundle savedInstanceState) {
   super.onViewCreated(view, savedInstanceState);
   eventRegister.registerEventBuses();
 }