In RoboGuice examples there are two different ways to inject something
@Inject
protected LayoutInflater inflater;
@Inject
protected Provider<LayoutInflater> inflater2;
What's the difference between them and what way and when i need to choose?
In RoboGuice examples there are two different ways to inject something
@Inject
protected LayoutInflater inflater;
@Inject
protected Provider<LayoutInflater> inflater2;
What's the difference between them and what way and when i need to choose?