Android RecyclerView fails to render a SurfaceView (WITH MINIMAL EXAMPLE)

can a SurfaceView be rendered inside a RecyclerView EDIT: even this fails to render inside of a RecyclerView: https://github.com/android/ndk-samples/tree/master/hello-gl2 EDIT2: https://github.com/mgood7123/RecyclerViewSurfaceViewGrid minimal example demonstrating the issue // public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback2 { // class GL2JNIView extends GLSurfaceView { GL2JNIView mView; public ViewGroup onViewRequest(Context mContext) { if (context == null) context = mContext;…

Details