¿Cómo detecto el cambio de orientación de un fragmento en Android?

I am in a process of developing an Android app which have a activity and many fragments to that activity. I want to check and change the orientation of only two fragments among the many.

How do I do this? I want only these two fragments to change their orientation and not all. I came to know that we have to use OrientationEventListener for this, but I have no idea how to use this.

I am working on mobile device app and with Android 2.2 and fragment support files.

I went through the following links but made no reference to fragments: este y este.

preguntado el 02 de febrero de 12 a las 10:02

Este enlace was supplied below in a link-only answer. That may be deleted in the future, so I will put it here. -

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.