jeudi 28 avril 2016

How to check which image listview contains?

I'm making a simple app with a custom listview and a database and I got stuck with checking which image a listview contains.

Example of what I wanna do:

If I want to update job1 then I click on job1 and it should open the dialog with the "under construction" selected.

job2 with done selected etc..

I wanna know how to make a check if list item contains "R.drawable.job_done"?

Give me a simple example guys, tnx in advance.

Design of the app:

job status

listview with jobs

Aucun commentaire:

Enregistrer un commentaire