I want to be able to inject an object, and pass a parameter to its initializer method. Is this possible?
public class MyObject
{
@Inject
public MyObject(int anInteger)
{
//do something
}
}
public class MyActivity extends RoboActivity
{
@Inject (anInteger = 5) MyObject myObject;
// I want to be able to pass an object to be used when calling the
// initializer method
}