I have an activity which has two edit text fields: one for the title and the other for the story.
The entries made two text fields are saved in the database, also the database has a ROW_ID,TITLE_ID and STORY_ID. The entries are displayed in a list view.
When an item is long clicked, I get the row id corresponding to that item.
How should I get the TITLE_ID and STORY_ID from this?
I have an activity which has two edit text fields: one for the title
Share
Say, you have the corresponing row id of item which is long clicked in a variable rid. Then run the following query:
Then retrieve TITLE_ID and STORY_ID like:
Then use them as you like 🙂