Designing dependency injection aware activity