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.
我能够在 android 中使用 SurfaceView 显示单个视频。现在我想使用 SurfaceView 显示多个视频。所以,我的问题是我应该为多个视频创建多个 SurfaceView 还是单个 SurfaceView 可以是多线程的?
对于每个视频,我都会有一个单独的表面视图,每个视频都有自己的线程。注意多线程的内存泄漏