A reasonable person would think that, if Android supports two-item (or more) ListViews, and provides facilities to list a database query's results in a ListView, and enabled a user to select an entry this ListView, then it should be possible for an app to pick out the values of individual items from an entry.  Typically, one of the items would be the record's ID and you need this to update the record later.  I'm sure it's possible.  But I've just spent most of the day trying to find out how to do it, to no effect.

Another frustration was in trying to use a two-fragment layout where the left hand side is a list of records and the right-hand side is the details associated with a selected record.  Again, little joy.  There are various examples and tutorials on this in the Androidsphere, but I still can't get it to display the "details" fragment without generating a runtime exception.

Hopefully, better progress tomorrow.
 





Leave a Reply.