title: Android - TextureView + SurfaceHolder.Callback
body: <p>I wanted to know if it is possible to use SurfaceHolder.Callback (and of course its callbacks) in combination with TextureView?</p>
  
  <p>I mean sth. like the following:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class MainActivity extends AppCompatActivity implements  SurfaceHolder.Callback {
  
      private TextureView mTextureView;
  
      @Override
      public void surfaceCreated(SurfaceHolder surfaceHolder) {
  
      }
  
      @Override
      public void surfaceChanged(SurfaceHolder surfaceHolder, int format, int width, int height) {
  
      }
  
      @Override
      public void surfaceDestroyed(SurfaceHolder surfaceHolder) {
  
      }
  }
  </code></pre>
  
  <p>Would that be working? The reason I ask is that whenever I see SurfaceHolder.Callback, they use SurfaceView.</p>