@Inject Stage stage ;)

Stage stage = injector.getInstance(Stage.class);

Cheers
Alen

On Oct 4, 3:42 pm, Luiz Eduardo <[email protected]> wrote:
> Em 4/10/2011 10:36, Alen Vrečko escreveu:> You can always inject the Stage.
>
> > Cheers
> > Alen
>
> > On Sep 29, 9:17 pm, Luiz Eduardo<[email protected]>
> > wrote:
> >> hi all
> >> in my application, there are some methods that will behave in different
> >> ways according to the Stage.
> >> since guice has the 'Stage' class, i think i can use it to get the
> >> current stage. but how do i get the current stage?
> >> thanks a lot
>
> how?

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to