Use ImageView in ListActivity?


Last Updated:

  1. MIIISTER NEUGIT

    MIIISTER NEUGIT Member This Topic's Starter

    Joined:
    Nov 12, 2010
    Messages:
    17
    Likes Received:
    0
    Right now my app is Extending ListActivity. I have to use this because I don't get the info for my lists from an XML file in the app, but from my server, and putting the data in with the setListAdapter method in ListActivity. After pressing an item in my list, I need to go to a ImageView. When my app is a ListActivity, it will crash when you try to set R.setContentView to a ImageView.


    So how can I work around this?
     

    Advertisement
  2. MIIISTER NEUGIT

    MIIISTER NEUGIT Member This Topic's Starter

    Joined:
    Nov 12, 2010
    Messages:
    17
    Likes Received:
    0
    Nevermind I figured it out.
     

Share This Page

Loading...