We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
public interface IRemoteFactory { Bundle createRemote(Context application, RouteRule rule); }
此接口用于对远程路由服务提供额外数据支持。当插件使用RouterConfiguration#startHostService启动远程路由服务并注册成功的时候。将会针对当前插件的每一条路由,生成对应的额外数据提供给其他插件使用。一般是用于定制插件间页面跳转使用。
RouterConfiguration.get().setRemoteFactory(remoteFactory);