Examples with "a ViewModel class" and their translation in Spaans
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.
Ok, we have our attributes, so it's time to use them. Let's create our ViewModel class.
Bien, ya tenemos nuestros atributos, así que ya es momento de utilizarlos en nuestra clase modelo.
Fixed a viewmodel related crash when switching classes away from Medic.
Arreglado un cuelgue relacionado con el modelo de vista cuando se cambiaba de Medic a otra clase.
Btw, if I use a viewmodel and let's say I have product entity with sixty fields.
Por cierto, si uso un modelo de vista y digamos que tengo una entidad de producto con sesenta campos.
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.
Basic concepts of MVVM- what should a ViewModel do?
Conceptos básicos de MVVM: ¿qué debería hacer un ViewModel?
You can separate out your business logic into a viewmodel, so your view has cleaner separation.
Puede separar su lógica de negocios en un modelo de vista, por lo que su vista tiene una separación más clara.
If you need to propagate events that cannot be handled with a ViewModel, you can instead define a callback interface inside the fragment and require that the host activity implement it.
Si necesitas propagar eventos que no pueden controlarse con un ViewModel, define una interfaz de devolución de llamada dentro del fragmento y fuerza a la actividad anfitriona para que la implemente.
An option to obtain data and transform it into a viewmodel to show in a visualization could be the following
Una opción para obtener los datos y convertirlos a un view model para mostrar en una vista, podría ser esta
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.
If you need to propagate events that cannot be handled with a ViewModel, you can instead define a callback interface inside the fragment and require that the host activity implement it.
Una buena manera de hacerlo es definir una interfaz callback dentro del fragmento y exigirle a la actividad anfitriona que la implemente.
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.