制作的Airbnb-DeepLinkDispatch没有活动

问题描述 投票:0回答:1

我试图用deepLinkDispatch LIB不活动(Conductor)。我只有一个活动在我的项目,而其他屏幕是控制器。当我尝试映射我与@DeepLink("xxx://test")控制器。

我得到的错误:

com.sample.test/com.sample.test.feature.form.view.controller.HostFormController}; have you declared this activity in your AndroidManifest.xml?

当然不是,因为这不是一个活动:P

@DeepLink("xxx://test")
class HostFormController : com.bluelinelabs.conductor.Controller{
} 

任何想法如何使用深层链接没有活动?

android deep-linking airbnb conductor
1个回答
1
投票

DeepLinkDispatch遗憾的是只对活动。你不会得到它与单活动架构的任何工作作风,无论是片段,指挥,或原始意见。有迹象表明,提供更多的灵活性,其他几个库,并且它也并不难推出自己的。

© www.soinside.com 2019 - 2024. All rights reserved.