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

    // run injector
    Injector.inject(this);

    // extract bundle
    Bundle args = getArguments();
    if (args != null) {
      launchFrom = args.getString(LAUNCH_FROM, "");
    }
  }
Exemplo n.º 2
0
  /** Constructor */
  public RegistrationReceiver() {
    super();

    // run injector
    Injector.inject(this);
  }