Use ImageView in ListActivity?

Discussion in 'Application Development' started by MIIISTER NEUGIT, Nov 14, 2010.

  1. MIIISTER NEUGIT

    15

    Nov 12, 2010
    17
    0
    15
    Xbox 360 Game Developer
    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

    15

    Nov 12, 2010
    17
    0
    15
    Xbox 360 Game Developer
    Nevermind I figured it out.
     

Share This Page

Loading...