开发者

android:how to Reload the ArrayAdapater Class in Check/uncheck event of ListView's Chekbox?

开发者 https://www.devze.com 2023-03-01 03:09 出处:网络
How to Reload the ArrayAdapater Class in Check/uncheck event of ListView\'s 开发者_开发知识库Chekbox?

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..


on check/Uncheck event call refresh();

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

       }
0

精彩评论

暂无评论...
验证码 换一张
取 消