1 | public void addListener(INotifyChangedListener notifyChangedListener)↵ | | 1 | public void addListener(INotifyChangedListener notifyChangedListener)↵
|
2 | {↵ | | 2 | {↵
|
3 | changeNotifier.addListener(notifyChangedListener);↵ | | 3 | changeNotifier.addListener(notifyChangedListener);↵
|
4 | }↵ | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * This removes a listener.↵
|
| | | 7 | */↵
|
5 | public void removeListener(INotifyChangedListener notifyChangedListener)↵ | | 8 | public void removeListener(INotifyChangedListener notifyChangedListener)↵
|
6 | {↵ | | 9 | {↵
|
7 | changeNotifier.removeListener(notifyChangedListener);↵ | | 10 | changeNotifier.removeListener(notifyChangedListener);↵
|
8 | }↵ | | 11 | }↵
|
|
| | | 12 | /**↵
|
| | | 13 | * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.↵
|
| | | 14 | */↵
|
9 | public void fireNotifyChanged(Notification notification)↵ | | 15 | public void fireNotifyChanged(Notification msg)↵
|
10 | {↵ | | 16 | {↵
|
11 | changeNotifier.fireNotifyChanged(notification);↵ | | 17 | changeNotifier.fireNotifyChanged(msg);↵
|
|
12 | if (parentAdapterFactory != null)↵ | | 18 | if (parentAdapterFactory != null)↵
|
13 | {↵ | | 19 | {↵
|
14 | parentAdapterFactory.fireNotifyChanged(notification); | | 20 | parentAdapterFactory.fireNotifyChanged(msg);
|