How can I make my presentation player smoother?

I use the presentation pager to show two fragments. One snippet contains a preview of the camera, and the other a simple list view.

The problem is that the whole wiping experience is not as smooth as it should be. And I guess the reason for this is because the UI thread should handle viewing the pager, camera, and list of all at once.

Now what can I do? What can I run in the background thread? Is it possible to run the view player in the background?

+4
source share

Source: https://habr.com/ru/post/1526995/


All Articles