class ImageSourceView : ImageView, Callback
ImageSourceView(context: Context) ImageSourceView(context: Context, attrs: AttributeSet) ImageSourceView(context: Context, attrs: AttributeSet, defStyleAttr: int) |
fun drawableStateChanged(): void |
|
fun getScaleType(): ScaleType |
|
fun handleMessage(msg: Message): boolean |
|
fun onAttachedToWindow(): void |
|
fun onDetachedFromWindow(): void |
|
fun onSizeChanged(w: int, h: int, oldw: int, oldh: int): void |
|
fun setImageBitmap(bm: Bitmap): void |
|
fun setImageResource(res: int): void |
|
fun setImageSource(source: ImageSource): void |
class AutoRotateImageSource : ImageSourceView, OrientationSensor.OrientationListener
Rotate on device rotation it use the OrientationSensor Class. To use it the OrientationSensor must be start on Activity resume and stop on Activity pause. |