Java Code Examples for com.facebook.drawee.backends.pipeline.Fresco#shutDown()
The following examples show how to use
com.facebook.drawee.backends.pipeline.Fresco#shutDown() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HavenApp.java From haven with GNU General Public License v3.0 | 5 votes |
@Override public void onCreate() { super.onCreate(); mPrefs = new PreferenceManager(this); ImagePipelineConfig.Builder b = ImagePipelineConfig.newBuilder(this); ImagePipelineConfig config = b .setProgressiveJpegConfig(new SimpleProgressiveJpegConfig()) .setResizeAndRotateEnabledForNetwork(true) .setDownsampleEnabled(true) .build(); Fresco.initialize(this,config); try { ImagePipelineNativeLoader.load(); } catch (UnsatisfiedLinkError e) { Fresco.shutDown(); b.experiment().setNativeCodeDisabled(true); config = b.build(); Fresco.initialize(this, config); e.printStackTrace(); } AppCompatDelegate.setCompatVectorFromResourcesEnabled(true); if (mPrefs.getRemoteAccessActive()) startServer(); havenApp = this; dataBaseInstance = HavenEventDB.getDatabase(this); JobManager.create(this).addJobCreator(new HavenJobCreator()); }
Example 2
Source File: HomeActivity.java From fingerpoetry-android with Apache License 2.0 | 5 votes |
@Override protected void onDestroy() { super.onDestroy(); ButterKnife.unbind(this); ShareSDK.stopSDK(this); Fresco.shutDown(); AccountLogic.getInstance().exit(); }
Example 3
Source File: MainActivity.java From mirror with GNU General Public License v3.0 | 5 votes |
@Override protected void onDestroy() { super.onDestroy(); Fresco.shutDown(); Intent intent = new Intent(this, MirrorService.class); stopService(intent); }
Example 4
Source File: FrescoImageLoader.java From FimiX8-RE with MIT License | 4 votes |
public static void shutdown() { Fresco.shutDown(); }
Example 5
Source File: FrescoAdapter.java From ImageLoadPK with Apache License 2.0 | 4 votes |
@Override public void clear() { Fresco.shutDown(); }
Example 6
Source File: ZoomableActivity.java From ZoomableDraweeView-sample with Apache License 2.0 | 4 votes |
@Override protected void onDestroy() { super.onDestroy(); Fresco.shutDown(); }
Example 7
Source File: ViewPagerActivity.java From ZoomableDraweeView-sample with Apache License 2.0 | 4 votes |
@Override protected void onDestroy() { super.onDestroy(); Fresco.shutDown(); }
Example 8
Source File: RecyclerRendererApplication.java From RecyclerRenderers with Apache License 2.0 | 4 votes |
@Override public void onTerminate() { super.onTerminate(); Fresco.shutDown(); }
Example 9
Source File: DraggerApplication.java From Dragger with Apache License 2.0 | 4 votes |
@Override public void onTerminate() { super.onTerminate(); Fresco.shutDown(); }
Example 10
Source File: FrescoAdapter.java From fresco with MIT License | 4 votes |
@Override public void shutDown() { Fresco.shutDown(); }
Example 11
Source File: VaporApplication.java From PrismView with Apache License 2.0 | 4 votes |
@Override public void onTerminate() { super.onTerminate(); Fresco.shutDown(); }