示例#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, "");
    }
  }
  /** Constructor */
  public RegistrationReceiver() {
    super();

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