can anyone explain me in a simple language what you mean by glsurfaceview and its use? I want it in detail. I am not understanding the explanation provided by the documentation.

Sorry, I don’t know any glsurfaceview, afaik it’s not a function that is in the OpenGL specification.
It sounds like you are using some library or toolkit (which one?), have you considered asking on their forum or mailing list if they have one? Otherwise I think you’ll have to provide a bit more information.

For ideas how to ask questions in a way that makes them easy to answer, take a look at Forum Posting Guidelines.

Can you point out a link to the documentation.