AutoRotateImageSource
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.
Constructors
AutoRotateImageSource
Link copied to clipboard
open fun AutoRotateImageSource(context: Context)
Content copied to clipboard
AutoRotateImageSource
Link copied to clipboard
open fun AutoRotateImageSource(context: Context, attrs: AttributeSet)
Content copied to clipboard
AutoRotateImageSource
Link copied to clipboard
open fun AutoRotateImageSource(context: Context, attrs: AttributeSet, defStyleAttr: Int)
Content copied to clipboard
Functions
getStateHandler
Link copied to clipboard
onAttachedToWindow
Link copied to clipboard
open fun onAttachedToWindow()
Content copied to clipboard
onDetachedFromWindow
Link copied to clipboard
open fun onDetachedFromWindow()
Content copied to clipboard
onOrientationChange
Link copied to clipboard
open fun onOrientationChange(screenOrientation: ScreenOrientation)
Content copied to clipboard
onProviderUpdate
Link copied to clipboard
onSizeChanged
Link copied to clipboard
setContent
Link copied to clipboard
fun setContent(content: ImageSourceView.ContentInfo)
Content copied to clipboard
setContentFromWorker
Link copied to clipboard
fun setContentFromWorker(result: ImageSourceView.ContentInfo)
Content copied to clipboard
setImageBitmap
Link copied to clipboard
open fun setImageBitmap(bitmap: NonExistentClass)
Content copied to clipboard
setImageDrawable
Link copied to clipboard
open fun setImageDrawable(drawable: NonExistentClass)
Content copied to clipboard
setImageResource
Link copied to clipboard
setImageSource
Link copied to clipboard
fun setImageSource(source: NonExistentClass)
Content copied to clipboard