1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

List Activity and onActivityResult


Last Updated:

  1. AndroiDev

    AndroiDev Member This Topic's Starter

    Joined:
    Jun 9, 2010
    Messages:
    8
    Likes Received:
    0
    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...