Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Returning values from nested listactivity to mainactivity

$
0
0

I may be going about this the wrong way, but it's the only way I can think of it right now.

I have a main activity and two 'child' listactivities (one listactivity is a child of the other).

I have a state listactivity and a location listactivity.

I want to start the state listactivity from the main activity (working), and then based on the state chosen, display the location listactivity (working). The final selected location is all I am interested in passing back to the main activity.

I can get the selected state back to the main activity by using StartActivityForResult, but I can't get the selected location back to main activity.

What is the best way to do this?

Thanks in advance.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>