Con mucho usar esa gran cuando uno utiliza una página web es muy fácil refrescar los datos ya que el mismo navegador incluyó esta función pero en el caso de las aplicaciones móviles no las incluyen por defecto por lo tanto el desarrollador debe implementarlas.
Para esta vez me tocó el caso de implementar este tipo de función dentro de una de las pantallas de la aplicación móvil que estoy desarrollando.
By far using this great feature, when you use a web page it is very easy to refresh the data since the browser itself included this function but in the case of mobile applications they do not include them by default therefore the developer must implement them. This time I had to implement this type of function within one of the screens of the mobile application that I am developing.
La implementación de esta función se debe a que el cliente necesita que se actualicen los datos en tiempo real ya sea si el usuario realizó operaciones dentro de aplicación o se hayan realizado cambios en la base de datos.
Por suerte implementar esta función no fue demasiado complicado ya que el mismo marco de trabajo ofrece un tutorial bastante básico y simple de entender lo único que tuve que hacer es cambiar algunos estilos y agregar unos atributos que simplemente controlan funciones al momento de refrescar la pantalla.
The implementation of this function is because the client needs the data to be updated in real time whether the user performed operations within the application or changes have been made to the database. Luckily implementing this function was not too complicated since the same framework offers a fairly basic and easy to understand tutorial. The only thing I had to do was change some styles and add some attributes that simply control functions when refreshing the screen.
In the code you can see that there is a component that is responsible for passing these properties, one is the one that allows the loader to be displayed visually and the other executes the desired functions after the loader finishes.


Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!
Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).
You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.