hangox
hangox
my code public class SlideHolderTsActivity extends SherlockActivity { SlideHolder holder ; SlidingMenu heeh; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_slide_holder); holder = (SlideHolder)findViewById(R.id.slideholer); holder.setAllowInterceptTouch(false); } } my xml file: ```...
me too
I found the solution, just remove the mos and then use `brew install --cask mos` and it will continue to scroll smoothly!
作者不好意思,我没讲好我们遇到的问题,你说的事情我们是清楚的,我们要用 framgentActivity 有我们的理由,可以看看下面我们的理由是什么 # 为什么需要 PluginContainerActivity 继承 FragmentActivity ## 一句话总结 **宿主的 HostWebView(封装了 JS Bridge)传递给插件使用时,JS Bridge 弹窗需要 FragmentActivity 作为 Context,但 PluginContainerActivity 继承自 Activity,导致弹窗崩溃。** --- ## 第一步:理解 HostWebView 是什么 宿主应用封装了一个 `HostWebView`,它不是普通的 WebView,而是一个**内置...
因为太长了,我分开讲。 我们在调研这个方案,因为目前的问题在于,根上是 Activity 的父类问题,所以我们是想从根上解决这个问题,避免以后增加 js 方法还会遇到这个问题。 如果大致思路确认后其实很难改或者不好改,我们也只能接受一个个 js 修改了。 @shifujun