I'm sure that I knew the answer to this many years ago but the ravages of time have dulled the sharp edges of my previously formidable intellect and I haven't found an answer on the forum so ....
I have just updated a property in ScaleImageView to have a getter as well as a setter. For consistency, as the original setter took a native Bitmap type I have made the getter return the same type. It seems that the compiler can deal with this without problem but in general would it be better practice to return a Wrapper rather than a naked (Ooh matron!) Bitmap?
For non-Brits and those Brits less than a certain age the humorous meme is from one of the Carry On films.
I have just updated a property in ScaleImageView to have a getter as well as a setter. For consistency, as the original setter took a native Bitmap type I have made the getter return the same type. It seems that the compiler can deal with this without problem but in general would it be better practice to return a Wrapper rather than a naked (Ooh matron!) Bitmap?
For non-Brits and those Brits less than a certain age the humorous meme is from one of the Carry On films.