We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
In such a situation, you can alleviate the burden of reinitializing part of your activity by using a ViewModel object.
En tal situación, puedes aliviar la carga de reiniciar parte de tu actividad utilizando un objeto ViewModel.
With these pieces in place, you might choose to implement your ViewModel object, as in the following example
Con estos elementos, puedes implementar tu objeto ViewModel, como en el siguiente ejemplo
In such a situation, you can alleviate the burden of reinitializing part of your activity by using a ViewModel object.
En dicha situación, puedes reducir la carga que supone reiniciar tu actividad reteniendo un Fragment cuando la actividad se reinicie debido a un cambio de configuración.
A ViewModel object provides the data for a specific UI component, such as a fragment or activity, and contains data-handling business logic to communicate with the model.
Un objeto de ViewModel proporciona los datos para un componente de IU específico, como un fragmento o una actividad, e incluye lógica empresarial de manejo de datos para comunicarse con el modelo.
On the Configure Activity screen, enter names for the initial activity, fragment, and ViewModel object with which to start your project.
En la pantalla Configure Activity, escribe nombres para la actividad inicial, el fragmento y el objeto ViewModel con el que iniciarás tu proyecto.
It creates a separate viewModel object for each component.
Returns the viewModel Object depending on how the viewModel property was configured.
Devuelve el objeto de modelo de vista en función de cómo se configura la propiedad modelo de vista.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.