Quisiera saber si alguien me puede ayudar con lo siguiente:
Estoy desarrollando una app en MIT App Inventor y deseo implementar una funcionalidad en la que, al presionar un botón, se cargue un ListView con los ítems que ya tengo almacenados en un archivo .csv (el cual ya tengo preparado y cargado en el proyecto).
La idea es que, una vez se muestre esa lista, el usuario pueda seleccionar uno de los ítems y que, al hacerlo, se abra otra pantalla (Screen2) donde se muestre el contenido detallado de ese ítem (por ejemplo, una descripción asociada).
Agradecería mucho si alguien pudiera orientarme con los bloques necesarios o un ejemplo similar.
¡Desde ya muchas gracias!
use the file component to read the file from the assets
then in the GotText event convert the csv file into a list by using the split block, just split at \n to get each row of the csv file in a separate lisst item and assign that list to the listview elements property
use the same screen to display the details, if necessary use virtual screens, see also tip 1 here
A very good way to learn App Inventor or Kodular is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .