passing table id
Posted
by soclose
on Stack Overflow
See other posts from Stack Overflow
or by soclose
Published on 2010-04-23T02:14:35Z
Indexed on
2010/04/23
2:23 UTC
Read the original article
Hit count: 449
listview
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?
© Stack Overflow or respective owner