重装

要使旧数据无效并重新启动现有加载器,可以使用 restartLoader() 方法:

private void reload() {
    getLoaderManager().reastartLoader(LOADER_ID, Bundle.EMPTY, this);
}