1. Check out our app, Forums for Android! Download and leave feedback here!

refresh Lists

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

  1. niklas1145

    niklas1145 Member
    Thread Starter
    5

    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 Member
    Thread Starter
    5

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

Share This Page

Loading...