Activity creation expressions can only accept methods with compatible signatures.