List Activity and onActivityResult

Discussion in 'Android Apps & Games' started by AndroiDev, Jul 6, 2010.

  1. AndroiDev

    AndroiDev Member
    5

    Jun 9, 2010
    8
    0
    5
    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?
     

    Advertisement

Share This Page

Loading...