Click here to Skip to main content
15,171,729 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a custom Listview in my android app and on list item click, I'm able to navigate to other activity, which shows all the details about list item !! Now my question is, I want to navigate to next/previous listitem's details through second activity.. how can i do this.??

I'm new to android..

Thanks in advance !
Updated 16-Feb-13 22:01pm

1 solution

You can try starting your second activity with an Intent for result, and if the user (whilst on the secondt activity) decides to navigate to the next item then finish the second activity with information in the result to tell the first activity to start the second activity with the details of the next item.

Hope this helps,
[no name] 17-Feb-13 5:56am
Can you provide code ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900