• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

List Activity and onActivityResult

AndroiDev

Lurker
Hi folks,

I have a main class which extends Activity which should spawn a ListActivity and obtain the selection made.
So I have an onListItemClick() in the class which extends ListActivity which accepts the selection via getItemAtPosition.

This ListActivity is started by startActivityForResult.

Now, since I have already obtained the result in onListItemClick, why do I need onActivityResult() ?? what does it do?
 
Back
Top Bottom