toggle menu
router
1.3.0-rc2
androidJvm
switch theme
search in API
router
/
com.therouter.inject
/
ServiceProvider
Service
Provider
@
Retention
(
value
=
RetentionPolicy.SOURCE
)
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.CLASS
,
AnnotationTarget.PROPERTY_GETTER
,
AnnotationTarget.PROPERTY_SETTER
]
)
annotation class
ServiceProvider
(
val
returnType
:
KClass
<
*
>
=
ServiceProvider::class
,
val
params
:
Array
<
KClass
<
*
>
>
=
[]
)
Created by ZhangTao on 17/8/11.
Members
Properties
params
Link copied to clipboard
val
params
:
Array
<
KClass
<
*
>
>
return
Type
Link copied to clipboard
val
returnType
:
KClass
<
*
>