KRouter-api
2018-03-08 00:39:12 0 举报
KRouter-api模块架构设计(核心类)
作者其他创作
大纲/内容
ActivityRouteHandler
+ routeMetadata: RouteMetadata
AbsRouteHandler
+ routeMetadata
ProviderRouteHandler
RouteHandlerFactory
+ createHandler(routeMetadata): AbsRouteHandler
PathMatcher
Router
INSTANCE: Router
+ getInstance():Router+ init(context)- addressing(navigator): List+ route(navigator)
ServiceRouteHandler
IInjector
DefaultMatcher
Navigator
+ path:String- extras:Bundle+ enterAnim:Int+ exitAnim:Int+ optionsCompat:Bundle+ flags:Int+ userHandle:UseHandle+ resquestCode:Int+ beforeRouteCallback+ routeNotFoundCallback+ routeArrivedCallback
InterceptorMetaData
Injector
RouteTable
+ init(context:Context)+ clear()
RouteMetaData
KRouter(Facade Pattern)
+ INSTANCE:KRouter
收藏
0 条评论
下一页