mercredi 6 mai 2015

How to intercept and change data passing from DB to ListView?

In my application I read data from database, put it into cursor and pass it to ListView using adapter. These data are numbers from 1 to 12, but I need them to be presented in the ListView as names of months. How and on which step of reading and displaying these data can I intercept them and change from numbers to text?

Aucun commentaire:

Enregistrer un commentaire