开发者

android: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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜