SHARE
TWEET

Untitled

a guest Jan 28th, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class TestSurfaceView extends SurfaceView implements SurfaceHolder.Callback{
  2.    
  3.     public TestSurfaceView(Context context) {
  4.         super(context);
  5.         getHolder().addCallback(this);
  6.     }
  7.  
  8.     @Override
  9.     public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
  10.     }
  11.  
  12.     @Override
  13.     public void surfaceCreated(SurfaceHolder holder) {
  14.     }
  15.  
  16.     @Override
  17.     public void surfaceDestroyed(SurfaceHolder holder) {
  18.     }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top