Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ActivityKey(val value: KClass<out Activity>)

A MapKey annotation for binding an Activity in a multibinding map.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class BroadcastReceiverKey(val value: KClass<out BroadcastReceiver>)

A MapKey annotation for binding a BroadcastReceiver in a multibinding map.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ContentProviderKey(val value: KClass<out ContentProvider>)

A MapKey annotation for binding ContentProviders into a multibinding map.

Link copied to clipboard

An AppComponentFactory that uses Metro for constructor injection of Activities.

Link copied to clipboard

An interface of common Map multibinding providers for Android "app components" like Activities, Services, etc. This is intended for use with MetroAppComponentFactory to allow for easy constructor injection of these types with minSdk 28+.

Link copied to clipboard

Interface for an Android Application class to implement to provide a single MetroAppComponentProviders instance and automatic component creation via MetroAppComponentFactory.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ServiceKey(val value: KClass<out Service>)

A MapKey annotation for binding a Service in a multibinding map.