2013年9月10日星期二

android surfaceview move the flashing black screen problem

I put a container in scrollview 6 surfaceview objects , the current screen shows only a surfaceview
sliding around when the user switches to display the next surfaceview, but a black screen flicker when switching phenomenon
online that is surfaceview double buffering problems caused , but no detailed tips , expert guidance ah.
------ Solution ---------------------------------------- ----
surfaceview are double -buffered, two take turns playing.
------ Solution - -------------------------------------------
landlord what to do If you just put six surface display pictures on the line with viewpager
------ Solution ------------------------- -------------------
If you do not reuse contentView left to right , then went back to new a new View , right ? . . . Initialization sufaveview not that black Mody. . . As for the right estimate is not black ScrollView internal mechanisms it. . Such as pre- loaded offscreen one and so on. . .
------ For reference only -------------------------------------- -


I know is double-buffered , I put a container scrollview six surfaceview game interface, the strange thing is there are no black line slide right , slide to the left but it will
------ For reference only ---------------------------------------


I put a container scrollview six surfaceview game interface, not pictures
------ For reference only ------------------- --------------------
seeking answers ah
------ For reference only ---------------------------------------


surfaceview reuse the objects , swipe right not black, black is the loading screen Swipe left outside things, for God horse or black, to solve ah.
------ For reference only -------------------------------------- -

multiplexes surfaceview objects , swipe right not black, black is the loading screen Swipe left outside things, for God horse or black, to solve ah.


ask to solve it
------ For reference only ---------------------------- -----------
I also encountered the same problem , there is a solution yet ?

没有评论:

发表评论