0

How to Reload the ArrayAdapater Class in Check/uncheck event of ListView's Chekbox? the Event is define in ArrayAdapter Class? notifieddatachage() is not worked..

I want to reload the ArrayAdpater class for reload the View again for user when clicked the Chekbox that time but its not workd so please help me..

TheCottonSilk
  • 8,662
  • 2
  • 26
  • 37
Hardik Gajjar
  • 5,038
  • 8
  • 33
  • 51

1 Answers1

2

on check/Uncheck event call refresh();

public void refresh()
        {
            mCursor=db_conn.onQueryGetCursor("tab_book",mItems,null, null, null, null, null);
            mCursor.requery();
            notifyDataSetChanged();

       }