jeudi 29 octobre 2015

How to get a index / record from an Android GridView

I have tried to look onto the site for an asnwer but I can't actually find anything really similar to my question.

I have an internal DB which contains few datas. One of the tables contains (Name - Surname - Birth Date) of a person and once I upload it in the GridView I actually need to start a new activity once the user long click one of the records. The problem is that once the long click is activated it has to recover the index of the record or the record itself and pass it to the new activity in order to allow that one to get the datas and let the user modify them.

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire