roboguice.inject
Class ViewListener
java.lang.Object
roboguice.inject.ViewListener
- All Implemented Interfaces:
- com.google.inject.spi.TypeListener, StaticTypeListener
public class ViewListener
- extends Object
- implements StaticTypeListener
- Author:
- Mike Burton
Constructor Summary |
ViewListener(com.google.inject.Provider<android.content.Context> contextProvider,
android.app.Application application,
ContextScope scope)
|
Method Summary |
|
hear(com.google.inject.TypeLiteral<I> typeLiteral,
com.google.inject.spi.TypeEncounter<I> typeEncounter)
|
void |
requestStaticInjection(Class<?>... types)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextProvider
protected com.google.inject.Provider<android.content.Context> contextProvider
application
protected android.app.Application application
scope
protected ContextScope scope
ViewListener
public ViewListener(com.google.inject.Provider<android.content.Context> contextProvider,
android.app.Application application,
ContextScope scope)
hear
public <I> void hear(com.google.inject.TypeLiteral<I> typeLiteral,
com.google.inject.spi.TypeEncounter<I> typeEncounter)
- Specified by:
hear
in interface com.google.inject.spi.TypeListener
requestStaticInjection
public void requestStaticInjection(Class<?>... types)
- Specified by:
requestStaticInjection
in interface StaticTypeListener
Copyright © 2011. All Rights Reserved.