private void initView(Context context) { mMeasureHelper = new MeasureHelper(this); mSurfaceCallback = new SurfaceCallback(this); Holder.AddCallback(mSurfaceCallback); //noinspection deprecation Holder.SetType(SurfaceType.Normal); }
private void initView(Context context) { mMeasureHelper = new MeasureHelper(this); mSurfaceCallback = new SurfaceCallback(this); SurfaceTextureListener = mSurfaceCallback; }