I want to alter something, for example a variable value, when the user rotates the screen.
I know I can have the orientation using something like:
but I don't want to define if portrait do this, if landscape do this
.
I want to just catch the current orientation and start doing the things I want.