Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 GeckoView 构建到我的应用程序中。到目前为止它工作得很好。现在我想在按下后退按钮(“onBackPressed”)时向 GeckoView 中的脚本发送一个事件。
是否可以在 GeckoView 中启动打开页面的 Javascript 函数?
或者我可以将事件发送到 GeckoView 中的页面吗?
函数 GeckoView.importScript() 不再存在...
有两种选择: