hi i am currently using roboguice as we know, we can use annotation to get class injected such as
@InjectView(R.id.list)ListView x
the @inject notation works, because i extend from RoboActivity, or any Robo class
my question is if i want to inject a custom class, called
public class CustomUtilManager {
}
i want to be able to Inject it in say RoboActivity
@Inject CustomUtilMananger
how do i do it?
my second question is, if i have a class, that is not subclass of any Robo* class
say
public class MyOwnClass {
}
how do i get the injector and inject another injectable class, such as CustomUtilManager
i.e. how can i say
public class MyOwnClass {
@Inject CustomUtilManager customUtilManager;
}