예제 #1
0
        public AdapterWrapper(IListAdapter wrapped)
        {
            this._wrappedAdapter = wrapped;

            NotificatingDataSetObserver dataSetObserver = new NotificatingDataSetObserver(NotifyDataSetChanged, NotifyDataSetInvalidated);
            wrapped.RegisterDataSetObserver(dataSetObserver);
        }
예제 #2
0
        public AdapterWrapper(IListAdapter wrapped)
        {
            this._wrappedAdapter = wrapped;

            NotificatingDataSetObserver dataSetObserver = new NotificatingDataSetObserver(NotifyDataSetChanged, NotifyDataSetInvalidated);

            wrapped.RegisterDataSetObserver(dataSetObserver);
        }