removeCallback method
移除数据变化监听器
Implementation
@override
void removeCallback(DataSetCallback? onDataSetChanged) {
if (null == onDataSetChanged) {
_dataSetCallbacks.clear();
} else {
_dataSetCallbacks.remove(onDataSetChanged);
}
}
移除数据变化监听器
@override
void removeCallback(DataSetCallback? onDataSetChanged) {
if (null == onDataSetChanged) {
_dataSetCallbacks.clear();
} else {
_dataSetCallbacks.remove(onDataSetChanged);
}
}