builder中必须要传入Fragment或者FragmentActivity?
Closed this issue · 6 comments
maozhengjun commented
BzCoder commented
rn我没怎么接触过,我这个fragment or fragmentactivity 主要是为了提供fragmentmanager用的,就是为了底部弹窗的,你rn可以调用native的弹窗么
maozhengjun commented
我不需要底部弹窗的 只需要录制视频,但是现在需要传入fragment,这就有点麻烦了😂
BzCoder commented
这个CurrentActivity可以转成FragmentActivity或者AppCompatActivity么
maozhengjun commented
转了也会报错:
Exception in native call
java.lang.IllegalStateException: Must be called from main thread of fragment host
BzCoder commented
这个是线程不对吧
maozhengjun commented
嗯 转换的话就报线程问题,现在也不知道还有啥办法,不加Activity就不行,唉