If I want to rotate an imageview. Would I use Matrix rotation or animation rotation? What would be the difference?
Thank you
If I want to rotate an imageview. Would I use Matrix rotation or animation
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on the purpose. An animation would usually be a 1 time thing, and will be done by performing some predefined action. A matrix would be used for multitouch interactions which the user might want to make. They serve 2 different purposes usually. What type of rotation are you talking about? If you need your user to manually rotate, you will need to use multitouch. If you just want to show some cool animation, then just this is not necessary.
The cool thing about the matrix is that you can store the matrix in your database and retrieve it later. The matrix can then be applied to your image view so that it displays correctly.