invalidar
- Ejemplos
Para asegurarte de que el sistema Android registre la lista de visualización de una vista, debes llamar a invalidate(). | To ensure that the Android system records a view's display list, you must call invalidate(). |
Además, las vistas llaman automáticamente al método invalidate() para actualizar la pantalla cada vez que se cambian sus propiedades. | In addition, Views also automatically call the invalidate() method to refresh the screen whenever its properties are changed. |
Puedes invalidar los elementos de datos almacenados en caché con el mismo nombre del grupo a la vez llamando a yii\caching\TagDependency::invalidate(). | You may invalidate the cached data items with the specified tag(s) by calling yii\caching\TagDependency::invalidate(). |
El sistema Android usa invalidate() y draw() para solicitar actualizaciones de pantalla y renderizar vistas, pero maneja el dibujo real de manera diferente. | The Android system still uses invalidate() and draw() to request screen updates and to render views, but handles the actual drawing differently. |
La vista no se vuelve a dibujar a menos que cambies sus propiedades, lo que llama a invalidate(), o que llames a invalidate() manualmente. | The view is not redrawn unless you change the view's properties, which calls invalidate(), or if you call invalidate() manually. |
Por lo tanto, siempre debes llamar a invalidate() en tus vistas personalizadas si vas a modificar datos o estados que afecten el código de dibujo de la vista. | Because of this, you should always call invalidate() on your custom views whenever you modify data or state that affects the view's drawing code. |
Cada vez que una aplicación necesita actualizar una parte de su IU, invoca a invalidate() (o una de sus variantes) en cualquier vista que haya cambiado de contenido. | Whenever an application needs to update a part of its UI, it invokes invalidate() (or one of its variants) on any view that has changed content. |
Por ejemplo, si tu aplicación llama a invalidate() en un botón y dicho botón se ubica encima de otra vista, el sistema Android vuelve a dibujar esa vista aunque no haya cambiado. | For example, if your application calls invalidate() on a button and that button sits on top of another view, the Android system redraws the view even though it hasn't changed. |
En función de la propiedad o el objeto que estés animando, tal vez debas llamar al método invalidate() en una vista para forzar a la pantalla a que se vuelva a dibujar con los valores animados actualizados. | Depending on what property or object you are animating, you might need to call the invalidate() method on a View to force the screen to redraw itself with the updated animated values. |
En función de la propiedad o el objeto que estés animando, tal vez debas llamar a invalidate() en una vista para forzar esa área de la pantalla a que se vuelva a dibujar con los nuevos valores animados. | Depending on what property or object you are animating, you might need to call invalidate() on a View to force that area of the screen to redraw itself with the new animated values. |
Invalidate() Invalida toda la superficie del control y hace que se vuelva a dibujar el control. | Invalidate() Invalidates the entire surface of the control and causes the control to be redrawn. |
Invalidate(Boolean) Invalida una región específica del control y hace que se envíe un mensaje de dibujo al control. | Invalidate(Boolean) Invalidates a specific region of the control and causes a paint message to be sent to the control. |
Invalidate(Rectangle) Invalida la región especificada del control (agrega esta región a la región de actualización del control, que es el área que volverá a pintarse en la siguiente operación de dibujo) y hace que se envíe un mensaje de dibujo al control. | Invalidate(Rectangle) Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. |
Invalidate(Region) Invalida la región especificada del control (agrega esta región a la región de actualización del control, que es el área que volverá a pintarse en la siguiente operación de dibujo) y hace que se envíe un mensaje de dibujo al control. | Invalidate(Region) Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. |
Si esto ocurre, puede emitir el comando File | Invalidate Caches / Restart para eliminar los errores. | If this occurs, issuing the command File | Invalidate Caches / Restart might remove the errors. |
Seleccione los casos que serán cerrados, luego escriba una razón para abortarlos, y haga clic en Invalidar (Invalidate). | Select the cases that will be closed, then write a reason to abort them, and click on Invalidate. |
Palabra al azar
¡Tirar los dados y aprender una palabra nueva ahora!
¿Quieres aprender inglés?
¡Aprende inglés gratis!