Injection seems to fail, resulting in a thrown NullPointerException in the following case:
public abstract class BootstrapActivity extends IckleFragmentActivity {
@InjectPojo(LogoutService.class)
protected LogoutService logoutService;
}
...
public class DashboardActivity extends BootstrapActivity {
...
private void logout() {
// crash here, when logout() is called by user interaction or any other time.
logoutService.logout(new Runnable() {
}
}
Is this by design or is it intentional? Either way, it was unexpected behavior and is limiting my design.