views:

16

answers:

0

Hi

In Android, I make a list view that describe the name fields from a table in SQLite. Clicking long-term on any List Item, context menu appears and then I wanna get the ID of that item (I mean in the table, there are ID and name fields) and pass this ID to next layout. Why I wanna pass this ID is to update this record in SQLite table.

Here the next layout will be tablelayout. how to pass any value from one layout to another?

how to code?