android - Update listview inside ListFragment from Cursor Adapter -
in android have custom adapter, in custom adapter create view text , button delete text. of works fine , can delete record database have been unable refresh list. the list looks little this: ------------------------------------ text text text text | delete button| ------------------------------------ text text text text | delete button| ------------------------------------ my first instinct use this: qclistfragment frag = (qclistfragment) getsupportfragmentmanager().findfragmentbyid(r.id.listfragment); at point call method inside list fragment re-query list... cant because adapter not extend fragment. i'm finding hard let fragment know data has been changed. anyhow, last thought rebuild activity thought that not best thing , there had better way... i'm sure simple i'm missing last question was! (i can post more code if helpful) update: here entire adapter class public class calccursoradapter extends simplecursoradapter implements filterable{ private co...