Home > Articles > Mobile Application Development & Programming

  • Print
  • + Share This
This chapter is from the book

Workshop

Quiz

  1. What is the purpose of inJustDecodeBounds?
  2. What does mutable mean?
  3. What is a pivot point?

Answers

  1. In BitmapFactory.Options, inJustDecodeBounds is used to decode a Bitmap to get the dimensions but not actually create a Bitmap in memory.
  2. Mutable means changeable, and that is important when you create Bitmaps. Some methods return mutable Bitmaps and others return immutable Bitmaps.
  3. When you rotate an image, there must be a point to rotate around. That is the pivot point.
  • + Share This
  • 🔖 Save To Your Account