studio setvisibility requestfocus minwidth clase android view lifecycle representation

setvisibility - ¿Hay alguna representación gráfica del ciclo de vida de las vistas de Android(un diagrama de estado)?



view android (2)

Todos conocemos el ciclo de vida de la actividad de Android y el ciclo de vida de Fragment . Pero, ¿hay algo equivalente para las vistas?

Esto podría ayudar, por ejemplo, a crear vistas personalizadas o dar una mirada profunda a una operación gráfica muy común y a menudo oculta en Android.

Gracias por adelantado !


Aquí he creado una vista personalizada que amplía la Vista. Luego, escribió registros en cada método. Aquí el orden de los métodos llamados:
Cuando se ejecuta la depuración
setOverScrollMode
setOverScrollMode
enFinishInflate
setLayoutParams
getLayoutDirection
requestLayout
hasFocus
hasTransientState
getVisibility
getLayoutDirection
getLayoutDirection
canResolveLayoutDirection
getLayoutDirection
canResolveTextDirection
isLayoutDirectionResolved
isLayoutDirectionResolved
getLayoutDirection
getLayoutDirection
isLayoutDirectionResolved
isTextDirectionResolved
isTextAlignmentResolved
getLayoutDirection
jumpDrawablesToCurrentState
jumpDrawablesToCurrentState
jumpDrawablesToCurrentState
jumpDrawablesToCurrentState
jumpDrawablesToCurrentState
jumpDrawablesToCurrentState
getVisibility
onAttachedToWindow
jumpDrawablesToCurrentState
getBackground
esta enfocado
se muestra
onVisibilityAggregated
refreshDrawableState
drawableStateChanged
onCreateDrawableState
esta enfocado
hasWindowFocus
getVisibility
onMeasure
getSuggestedMinimumWidth
getSuggestedMinimumHeight
getVisibility
getVisibility
onMeasure
getSuggestedMinimumWidth
getSuggestedMinimumHeight
getVisibility
getVisibility
diseño
isOpaque
onSizeChanged
getBackground
isOpaque
getMatrix
isOpaque
isHardwareAccelerated
getZ
getElevation
getTranslationZ
enLayout
getVisibility
getAnimation
getLayerType
getLayerType
computeScroll
dibujar
onDraw
despachoDibujo
onDrawForeground
hasOverlappingRendering
dispatchWindowFocusChanged
onWindowFocusChanged
refreshDrawableState
drawableStateChanged
onCreateDrawableState
esta enfocado
hasWindowFocus

Actividad de apertura con esta vista:
onScreenStateChanged
getLayoutDirection
getAnimation
getLayerType
getVisibility
getVisibility
getVisibility
diseño
getVisibility
dispatchWindowFocusChanged
onWindowFocusChanged
refreshDrawableState
drawableStateChanged
onCreateDrawableState
esta enfocado
hasWindowFocus


No es un documento oficial, pero this apareció recientemente en Google+. Los comentarios también tienen una buena discusión con alguna explicación detallada.