Skip to content

Android 4.3.47报错 setPathAsync NetworkOnMainThreadException #2233

Answered by kevingpqi123
zengke328 asked this question in General
Discussion options

You must be logged in to vote

调用 setPathAsync 完,直接在下面执行 play 方法即可,不需要回调里面的操作,另外确认下onAnimationUpdate 会调用是否执行了其它操作,对于 pag 而言, 正常播放 flush 方法是异步执行的,不是在主线程

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kevingpqi123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants