1. Download our Official Android App: Forums for Android!

Apps refresh Lists

Discussion in 'Android Development' started by niklas1145, Jan 12, 2009.

  1. niklas1145

    niklas1145 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Jan 12, 2009

    Jan 12, 2009
    7
    0
    5
    Hallo,

    I have a question on refreshing a Listview, I have a db and a cursor on it.
    the cursor adapter(.., cursor..) is bound to a Listview.
    so is there a easy way to refresh the content of Listview if content of db changes?
    if I call onPause() and onResume() of the Activity there is an "automatic" ;)refresh? how can I do this on my own?

    thx,
    niklas
     

    Advertisement

  2. niklas1145

    niklas1145 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Jan 12, 2009

    Jan 12, 2009
    7
    0
    5
    cursor.requery()...
     

Share This Page

Loading...