I have a listview activity that uses SimpleCursorAdapter to populate
the list from a SQLite database.

The database field in question is an INTEGER data-type, set with
either a 0 or a 1 value, in a boolean format, 0 being false, and 1
being true.

In my listview, I want to show a textview conditionally only for rows
from the database that have a boolean 1 for the field in question.

I am not sure how to show or hide a textview value, and possibly even
set the value of the textview for a listview row item based on the
value of the database field value.

Has anyone ever dealt with this before, or know where it has been
addressed previously.  Please give me some advice on how I might get
this to work.  Or direct me where I might learn how.

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to