Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


should the renderingthread of a surfaceview have the same life cycle as the view using -'android,design-patterns,design,surfaceview'


should the renderingthread of a surfaceview have the same life cycle as the view  using -'android,design-patterns,design,surfaceview'

When creating a SurfaceView it's normal to also create a separate thread to draw onto the surface. Is it better programming practice to have the thread be created and destroyed at the same time the activity is, or at the same time the surface is?

What are some of the advantages/pitfalls of either way?
    

asked Sep 7, 2015 by rajesh
0 votes
14 views



Related Hot Questions



Government Jobs Opening


...